Gradient Page

#042E4C

#042E4C is the HEX color code for
Blue Whale
#042E4C

Blue Whale

Contrast
Dark
Luminance
14%
Color Conversions
Formats for Blue Whale (#042E4C) in various color spaces.
#042E4C
4, 46, 76
205°, 90%, 16%
95%, 39%, 0%, 70%
0.291, 0.07, 245.6
--color-blue-whale: #042E4C;

Shades & Tints

#e7f4fe
#b6defb
#86c9f9
#55b3f6
#259df4
#0b84da
#0967aa
#064979
#042c49
#010f18
DarkestBaseLightest

Color Harmonies

Complementary

#042E4C
#4e2304

Analogous

#044e47
#042E4C
#040a4e

Triadic

#042E4C
#4e042f
#2f4e04

Split Complementary

#042E4C
#4e040a
#4e4704

UI Component Examples

See how #042E4C looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Blue Whale Base */
  --color-primary: #042E4C;
  --color-primary-rgb: 4 46 76;
  --color-primary-hsl: 205 90% 16%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e7f4fe;
  --color-primary-100: #b6defb;
  --color-primary-200: #86c9f9;
  --color-primary-300: #55b3f6;
  --color-primary-400: #259df4;
  --color-primary-500: #0b84da;
  --color-primary-600: #0967aa;
  --color-primary-700: #064979;
  --color-primary-800: #042c49;
  --color-primary-900: #010f18;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#042E4C Hex Color | Blue Whale sl | UI Color Scheme Generator