#1E4879#1E4879

#1E4879 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.095 H 254.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1E4879
RGBrgb(30, 72, 121)
HSLhsl(212, 60%, 30%)
HSVhsv(212, 75%, 47%)
CMYKcmyk(75.2%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.13, 3.53, -32.16)
CIE-LCHlch(30.13, 32.35, 276.26°)
OKLaboklab(39.84% -0.026 -0.0917)
OKLCHoklch(39.84% 0.095 254.2)
XYZxyz(6.3027, 6.2905, 18.9675)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4879 #794F1E
analogous
#1E7679 #1E4879 #221E79
triadic
#1E4879 #791E48 #48791E
tetradic
#1E4879 #791E76 #794F1E #1E7922
square
#1E4879 #791E76 #794F1E #1E7922
split-complementary
#1E4879 #79221E #76791E
monochromatic
#060F19 #122B48 #1E4879 #2A65AA #4183D0

Accessibility & contrast

On white

9.30
#1E4879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1E4879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4879
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4879#FFFFFF#000000##FFFFFF
##1E48791.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4879;
/* rgb */ color: rgb(30, 72, 121);
/* oklch */ color: oklch(39.8% 0.095 254.2);
Tailwind
colors: {
  custom: {
    50: '#677aa0',
    500: '#1e4879',
    950: '#000000',
  },
}
SCSS
$custom: #1e4879;
$custom-light: #677aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4879",
  "rgb": {
    "r": 30,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 212.308,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.09529,
    "h": 254.2
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#1E4879
secondary
#AD7D46
accent
#9A44E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #1E4879

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

Preview Lab → · Contrast checker → · Palette generator →

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