#1E4F86#1E4F86

#1E4F86 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.106 H 253.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1E4F86
RGBrgb(30, 79, 134)
HSLhsl(212, 63%, 32%)
HSVhsv(212, 78%, 53%)
CMYKcmyk(77.6%, 41%, 0%, 47.5%)
CIE-LABlab(33.11, 4.04, -35.49)
CIE-LCHlch(33.11, 35.71, 276.49°)
OKLaboklab(42.41% -0.0296 -0.1013)
OKLCHoklch(42.41% 0.106 253.7)
XYZxyz(7.6329, 7.5883, 23.6121)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F86 #86551E
analogous
#1E8386 #1E4F86 #211E86
triadic
#1E4F86 #861E4F #4F861E
tetradic
#1E4F86 #861E83 #86551E #1E8621
square
#1E4F86 #861E83 #86551E #1E8621
split-complementary
#1E4F86 #86211E #83861E
monochromatic
#081422 #133254 #1E4F86 #296CB8 #488BD6

Accessibility & contrast

On white

8.34
#1E4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1E4F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F86
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F86#FFFFFF#000000##FFFFFF
##1E4F861.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#244985
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4f86;
/* rgb */ color: rgb(30, 79, 134);
/* oklch */ color: oklch(42.4% 0.106 253.7);
Tailwind
colors: {
  custom: {
    50: '#6a7fa9',
    500: '#1e4f86',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f86;
$custom-light: #6a7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f86",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 211.731,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.10555,
    "h": 253.7
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#1E4F86
secondary
#B88347
accent
#9941E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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