#1E478A#1E478A

#1E478A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.121 H 259.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1E478A
RGBrgb(30, 71, 138)
HSLhsl(217, 64%, 33%)
HSVhsv(217, 78%, 54%)
CMYKcmyk(78.3%, 48.6%, 0%, 45.9%)
CIE-LABlab(30.92, 11.02, -41.46)
CIE-LCHlch(30.92, 42.90, 284.89°)
OKLaboklab(40.79% -0.0214 -0.119)
OKLCHoklch(40.79% 0.121 259.8)
XYZxyz(7.3744, 6.6166, 24.9283)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E478A #8A611E
analogous
#1E7D8A #1E478A #2B1E8A
triadic
#1E478A #8A1E47 #478A1E
tetradic
#1E478A #8A1E7D #8A611E #1E8A2B
square
#1E478A #8A1E7D #8A611E #1E8A2B
split-complementary
#1E478A #8A2B1E #7D8A1E
monochromatic
#081325 #132D58 #1E478A #2961BC #4B80D8

Accessibility & contrast

On white

9.04
#1E478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1E478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E478A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E478A#FFFFFF#000000##FFFFFF
##1E478A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#034489
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e478a;
/* rgb */ color: rgb(30, 71, 138);
/* oklch */ color: oklch(40.8% 0.121 259.8);
Tailwind
colors: {
  custom: {
    50: '#6b79ad',
    500: '#1e478a',
    950: '#000000',
  },
}
SCSS
$custom: #1e478a;
$custom-light: #6b79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e478a",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 217.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.12093,
    "h": 259.8
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#1E478A
secondary
#BA8F4A
accent
#A841E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E478A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1E478A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva