#1E4979#1E4979

#1E4979 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.094 H 253.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1E4979
RGBrgb(30, 73, 121)
HSLhsl(212, 60%, 30%)
HSVhsv(212, 75%, 47%)
CMYKcmyk(75.2%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.45, 2.86, -31.65)
CIE-LCHlch(30.45, 31.78, 275.16°)
OKLaboklab(40.08% -0.027 -0.0902)
OKLCHoklch(40.08% 0.094 253.3)
XYZxyz(6.3679, 6.4209, 18.9892)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4979 #794E1E
analogous
#1E7779 #1E4979 #201E79
triadic
#1E4979 #791E49 #49791E
tetradic
#1E4979 #791E77 #794E1E #1E7920
square
#1E4979 #791E77 #794E1E #1E7920
split-complementary
#1E4979 #79201E #77791E
monochromatic
#060F19 #122B48 #1E4979 #2A67AA #4185D0

Accessibility & contrast

On white

9.19
#1E4979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1E4979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4979
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4979#FFFFFF#000000##FFFFFF
##1E49791.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e4979;
/* rgb */ color: rgb(30, 73, 121);
/* oklch */ color: oklch(40.1% 0.094 253.3);
Tailwind
colors: {
  custom: {
    50: '#677ba0',
    500: '#1e4979',
    950: '#000000',
  },
}
SCSS
$custom: #1e4979;
$custom-light: #677ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4979",
  "rgb": {
    "r": 30,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 211.648,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.09414,
    "h": 253.3
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#1E4979
secondary
#AD7C46
accent
#9844E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #1E4979

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

Preview Lab → · Contrast checker → · Palette generator →

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