#1E4871#1E4871

#1E4871 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.084 H 250.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1E4871
RGBrgb(30, 72, 113)
HSLhsl(210, 58%, 28%)
HSVhsv(210, 73%, 44%)
CMYKcmyk(73.5%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.67, 0.36, -27.87)
CIE-LCHlch(29.67, 27.87, 270.75°)
OKLaboklab(39.32% -0.0282 -0.0791)
OKLCHoklch(39.32% 0.084 250.3)
XYZxyz(5.8323, 6.1024, 16.4901)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4871 #71471E
analogous
#1E7170 #1E4871 #1E1E71
triadic
#1E4871 #711E48 #48711E
tetradic
#1E4871 #701E71 #71471E #1E711E
square
#1E4871 #701E71 #71471E #1E711E
split-complementary
#1E4871 #711E1E #71701E
monochromatic
#060F18 #112941 #1E4871 #2B67A1 #3E86CC

Accessibility & contrast

On white

9.46
#1E4871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1E4871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4871
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4871#FFFFFF#000000##FFFFFF
##1E48711.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4871;
/* rgb */ color: rgb(30, 72, 113);
/* oklch */ color: oklch(39.3% 0.084 250.3);
Tailwind
colors: {
  custom: {
    50: '#657a9a',
    500: '#1e4871',
    950: '#000000',
  },
}
SCSS
$custom: #1e4871;
$custom-light: #657a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4871",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 209.639,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.084,
    "h": 250.3
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#1E4871
secondary
#A57546
accent
#9347E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1E4871

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

Preview Lab → · Contrast checker → · Palette generator →

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