#1E3372#1E3372

#1E3372 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.112 H 266.6°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#1E3372
RGBrgb(30, 51, 114)
HSLhsl(225, 58%, 28%)
HSVhsv(225, 74%, 45%)
CMYKcmyk(73.7%, 55.3%, 0%, 55.3%)
CIE-LABlab(23.20, 15.29, -38.85)
CIE-LCHlch(23.20, 41.75, 291.48°)
OKLaboklab(34.35% -0.0067 -0.1117)
OKLCHoklch(34.35% 0.112 266.6)
XYZxyz(4.7555, 3.8581, 16.4104)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3372 #725D1E
analogous
#1E5D72 #1E3372 #331E72
triadic
#1E3372 #721E33 #33721E
tetradic
#1E3372 #721E5D #725D1E #1E7233
square
#1E3372 #721E5D #725D1E #1E7233
split-complementary
#1E3372 #72331E #5D721E
monochromatic
#060B18 #111D42 #1E3372 #2B49A2 #3E62CC

Accessibility & contrast

On white

11.85
#1E3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E3372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3372
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3372#FFFFFF#000000##FFFFFF
##1E33721.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e3372;
/* rgb */ color: rgb(30, 51, 114);
/* oklch */ color: oklch(34.3% 0.112 266.6);
Tailwind
colors: {
  custom: {
    50: '#666a9b',
    500: '#1e3372',
    950: '#000000',
  },
}
SCSS
$custom: #1e3372;
$custom-light: #666a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3372",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 225,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.11194,
    "h": 266.6
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#1E3372
secondary
#A68E46
accent
#BB46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E3372

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

Preview Lab → · Contrast checker → · Palette generator →

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