#1E3772#1E3772

#1E3772 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.106 H 264.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#1E3772
RGBrgb(30, 55, 114)
HSLhsl(222, 58%, 28%)
HSVhsv(222, 74%, 45%)
CMYKcmyk(73.7%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.39, 12.45, -36.92)
CIE-LCHlch(24.39, 38.96, 288.64°)
OKLaboklab(35.26% -0.0105 -0.106)
OKLCHoklch(35.26% 0.106 264.3)
XYZxyz(4.9378, 4.2228, 16.4712)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3772 #72591E
analogous
#1E6172 #1E3772 #2F1E72
triadic
#1E3772 #721E37 #37721E
tetradic
#1E3772 #721E61 #72591E #1E722F
square
#1E3772 #721E61 #72591E #1E722F
split-complementary
#1E3772 #722F1E #61721E
monochromatic
#060C18 #112042 #1E3772 #2B4EA2 #3E68CC

Accessibility & contrast

On white

11.38
#1E3772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E3772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3772
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3772#FFFFFF#000000##FFFFFF
##1E37721.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3772;
/* rgb */ color: rgb(30, 55, 114);
/* oklch */ color: oklch(35.3% 0.106 264.3);
Tailwind
colors: {
  custom: {
    50: '#666d9b',
    500: '#1e3772',
    950: '#000000',
  },
}
SCSS
$custom: #1e3772;
$custom-light: #666d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3772",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 222.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.10649,
    "h": 264.3
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#1E3772
secondary
#A68946
accent
#B346E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1E3772

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

Preview Lab → · Contrast checker → · Palette generator →

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