#1E4D7E#1E4D7E

#1E4D7E is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.097 H 252.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1E4D7E
RGBrgb(30, 77, 126)
HSLhsl(211, 62%, 31%)
HSVhsv(211, 76%, 49%)
CMYKcmyk(76.2%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.01, 2.18, -32.29)
CIE-LCHlch(32.01, 32.37, 273.87°)
OKLaboklab(41.4% -0.0297 -0.092)
OKLCHoklch(41.4% 0.097 252.1)
XYZxyz(6.9538, 7.0894, 20.7365)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D7E #7E4F1E
analogous
#1E7D7E #1E4D7E #1F1E7E
triadic
#1E4D7E #7E1E4D #4D7E1E
tetradic
#1E4D7E #7E1E7D #7E4F1E #1E7E1F
square
#1E4D7E #7E1E7D #7E4F1E #1E7E1F
split-complementary
#1E4D7E #7E1F1E #7D7E1E
monochromatic
#06111B #122F4D #1E4D7E #2A6BAF #448AD2

Accessibility & contrast

On white

8.68
#1E4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1E4D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D7E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D7E#FFFFFF#000000##FFFFFF
##1E4D7E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4d7e;
/* rgb */ color: rgb(30, 77, 126);
/* oklch */ color: oklch(41.4% 0.097 252.1);
Tailwind
colors: {
  custom: {
    50: '#687ea3',
    500: '#1e4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d7e;
$custom-light: #687ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d7e",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 210.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.09667,
    "h": 252.1
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#1E4D7E
secondary
#B17D47
accent
#9643E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1E4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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