#1E4E87#1E4E87

#1E4E87 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.108 H 254.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1E4E87
RGBrgb(30, 78, 135)
HSLhsl(213, 64%, 32%)
HSVhsv(213, 78%, 53%)
CMYKcmyk(77.8%, 42.2%, 0%, 47.1%)
CIE-LABlab(32.86, 5.10, -36.50)
CIE-LCHlch(32.86, 36.85, 277.95°)
OKLaboklab(42.24% -0.0284 -0.1043)
OKLCHoklch(42.24% 0.108 254.8)
XYZxyz(7.6314, 7.4732, 23.9572)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E87 #87571E
analogous
#1E8387 #1E4E87 #221E87
triadic
#1E4E87 #871E4E #4E871E
tetradic
#1E4E87 #871E83 #87571E #1E8722
square
#1E4E87 #871E83 #87571E #1E8722
split-complementary
#1E4E87 #87221E #83871E
monochromatic
#081423 #133155 #1E4E87 #296BB9 #498AD7

Accessibility & contrast

On white

8.42
#1E4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4E87
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E87#FFFFFF#000000##FFFFFF
##1E4E871.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335289
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4e87;
/* rgb */ color: rgb(30, 78, 135);
/* oklch */ color: oklch(42.2% 0.108 254.8);
Tailwind
colors: {
  custom: {
    50: '#6a7faa',
    500: '#1e4e87',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e87;
$custom-light: #6a7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e87",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 212.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42236,
    "c": 0.1081,
    "h": 254.8
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#1E4E87
secondary
#B98548
accent
#9B41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1E4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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