#1E3979#1E3979

#1E3979 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.114 H 264.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1E3979
RGBrgb(30, 57, 121)
HSLhsl(222, 60%, 30%)
HSVhsv(222, 75%, 47%)
CMYKcmyk(75.2%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.51, 13.87, -39.57)
CIE-LCHlch(25.51, 41.93, 289.32°)
OKLaboklab(36.27% -0.0114 -0.1137)
OKLCHoklch(36.27% 0.114 264.3)
XYZxyz(5.4485, 4.5822, 18.6828)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3979 #795E1E
analogous
#1E6779 #1E3979 #311E79
triadic
#1E3979 #791E39 #39791E
tetradic
#1E3979 #791E67 #795E1E #1E7931
square
#1E3979 #791E67 #795E1E #1E7931
split-complementary
#1E3979 #79311E #67791E
monochromatic
#060C19 #122248 #1E3979 #2A50AA #416CD0

Accessibility & contrast

On white

10.96
#1E3979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1E3979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3979
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3979#FFFFFF#000000##FFFFFF
##1E39791.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3979;
/* rgb */ color: rgb(30, 57, 121);
/* oklch */ color: oklch(36.3% 0.114 264.3);
Tailwind
colors: {
  custom: {
    50: '#676ea0',
    500: '#1e3979',
    950: '#000000',
  },
}
SCSS
$custom: #1e3979;
$custom-light: #676ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3979",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 222.198,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3627,
    "c": 0.1143,
    "h": 264.3
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#1E3979
secondary
#AD8E46
accent
#B444E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1E3979

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

Preview Lab → · Contrast checker → · Palette generator →

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