#1E3976#1E3976

#1E3976 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.110 H 263.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1E3976
RGBrgb(30, 57, 118)
HSLhsl(222, 59%, 29%)
HSVhsv(222, 75%, 46%)
CMYKcmyk(74.6%, 51.7%, 0%, 53.7%)
CIE-LABlab(25.29, 12.66, -38.02)
CIE-LCHlch(25.29, 40.07, 288.41°)
OKLaboklab(36.03% -0.0118 -0.1092)
OKLCHoklch(36.03% 0.11 263.8)
XYZxyz(5.2674, 4.5097, 17.7289)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3976 #765B1E
analogous
#1E6576 #1E3976 #2F1E76
triadic
#1E3976 #761E39 #39761E
tetradic
#1E3976 #761E65 #765B1E #1E762F
square
#1E3976 #761E65 #765B1E #1E762F
split-complementary
#1E3976 #762F1E #65761E
monochromatic
#060C18 #122145 #1E3976 #2A51A7 #406CCE

Accessibility & contrast

On white

11.04
#1E3976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E3976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3976
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3976#FFFFFF#000000##FFFFFF
##1E39761.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3976;
/* rgb */ color: rgb(30, 57, 118);
/* oklch */ color: oklch(36.0% 0.110 263.8);
Tailwind
colors: {
  custom: {
    50: '#666e9e',
    500: '#1e3976',
    950: '#000000',
  },
}
SCSS
$custom: #1e3976;
$custom-light: #666e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3976",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 221.591,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36032,
    "c": 0.10982,
    "h": 263.8
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#1E3976
secondary
#AA8B46
accent
#B245E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1E3976

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

Preview Lab → · Contrast checker → · Palette generator →

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