#1E4D8F#1E4D8F

#1E4D8F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.6% C 0.121 H 257.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1E4D8F
RGBrgb(30, 77, 143)
HSLhsl(215, 65%, 34%)
HSVhsv(215, 79%, 56%)
CMYKcmyk(79%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.06, 8.97, -41.08)
CIE-LCHlch(33.06, 42.05, 282.31°)
OKLaboklab(42.56% -0.0258 -0.1178)
OKLCHoklch(42.56% 0.121 257.7)
XYZxyz(8.1454, 7.5660, 27.0124)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D8F #8F601E
analogous
#1E868F #1E4D8F #271E8F
triadic
#1E4D8F #8F1E4D #4D8F1E
tetradic
#1E4D8F #8F1E86 #8F601E #1E8F27
square
#1E4D8F #8F1E86 #8F601E #1E8F27
split-complementary
#1E4D8F #8F271E #868F1E
monochromatic
#09172A #13325C #1E4D8F #2968C2 #4E88DA

Accessibility & contrast

On white

8.36
#1E4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1E4D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D8F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D8F#FFFFFF#000000##FFFFFF
##1E4D8F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#12498E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4d8f;
/* rgb */ color: rgb(30, 77, 143);
/* oklch */ color: oklch(42.6% 0.121 257.7);
Tailwind
colors: {
  custom: {
    50: '#6c7eb0',
    500: '#1e4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d8f;
$custom-light: #6c7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d8f",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 215.044,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.12058,
    "h": 257.7
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#1E4D8F
secondary
#BC8E4C
accent
#A240E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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