#1E4874#1E4874

#1E4874 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.088 H 251.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1E4874
RGBrgb(30, 72, 116)
HSLhsl(211, 59%, 29%)
HSVhsv(211, 74%, 45%)
CMYKcmyk(74.1%, 37.9%, 0%, 54.5%)
CIE-LABlab(29.84, 1.54, -29.49)
CIE-LCHlch(29.84, 29.53, 273.00°)
OKLaboklab(39.51% -0.0274 -0.0838)
OKLCHoklch(39.51% 0.088 251.9)
XYZxyz(6.0040, 6.1711, 17.3943)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4874 #744A1E
analogous
#1E7374 #1E4874 #1F1E74
triadic
#1E4874 #741E48 #48741E
tetradic
#1E4874 #741E73 #744A1E #1E741F
square
#1E4874 #741E73 #744A1E #1E741F
split-complementary
#1E4874 #741F1E #73741E
monochromatic
#060F18 #112A43 #1E4874 #2B66A5 #3F85CD

Accessibility & contrast

On white

9.40
#1E4874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1E4874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4874
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4874#FFFFFF#000000##FFFFFF
##1E48741.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#274373
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4874;
/* rgb */ color: rgb(30, 72, 116);
/* oklch */ color: oklch(39.5% 0.088 251.9);
Tailwind
colors: {
  custom: {
    50: '#667a9c',
    500: '#1e4874',
    950: '#000000',
  },
}
SCSS
$custom: #1e4874;
$custom-light: #667a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4874",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 210.698,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.08819,
    "h": 251.9
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#1E4874
secondary
#A87846
accent
#9646E2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1E4874

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

Preview Lab → · Contrast checker → · Palette generator →

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