#1E4E86#1E4E86

#1E4E86 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.107 H 254.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1E4E86
RGBrgb(30, 78, 134)
HSLhsl(212, 63%, 32%)
HSVhsv(212, 78%, 53%)
CMYKcmyk(77.6%, 41.8%, 0%, 47.5%)
CIE-LABlab(32.80, 4.70, -35.98)
CIE-LCHlch(32.80, 36.29, 277.44°)
OKLaboklab(42.17% -0.0286 -0.1028)
OKLCHoklch(42.17% 0.107 254.4)
XYZxyz(7.5613, 7.4452, 23.5882)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E86 #86561E
analogous
#1E8286 #1E4E86 #221E86
triadic
#1E4E86 #861E4E #4E861E
tetradic
#1E4E86 #861E82 #86561E #1E8622
square
#1E4E86 #861E82 #86561E #1E8622
split-complementary
#1E4E86 #86221E #82861E
monochromatic
#081422 #133154 #1E4E86 #296BB8 #488AD6

Accessibility & contrast

On white

8.44
#1E4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1E4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E86
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E86#FFFFFF#000000##FFFFFF
##1E4E861.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4e86;
/* rgb */ color: rgb(30, 78, 134);
/* oklch */ color: oklch(42.2% 0.107 254.4);
Tailwind
colors: {
  custom: {
    50: '#6a7fa9',
    500: '#1e4e86',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e86;
$custom-light: #6a7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e86",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 212.308,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.1067,
    "h": 254.4
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#1E4E86
secondary
#B88447
accent
#9A41E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1E4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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