#1E3571#1E3571

#1E3571 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.108 H 265.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#1E3571
RGBrgb(30, 53, 113)
HSLhsl(223, 58%, 28%)
HSVhsv(223, 73%, 44%)
CMYKcmyk(73.5%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.72, 13.47, -37.37)
CIE-LCHlch(23.72, 39.72, 289.81°)
OKLaboklab(34.72% -0.0087 -0.1073)
OKLCHoklch(34.72% 0.108 265.4)
XYZxyz(4.7881, 4.0140, 16.1420)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3571 #715A1E
analogous
#1E5E71 #1E3571 #301E71
triadic
#1E3571 #711E35 #35711E
tetradic
#1E3571 #711E5E #715A1E #1E7130
square
#1E3571 #711E5E #715A1E #1E7130
split-complementary
#1E3571 #71301E #5E711E
monochromatic
#060B18 #111E41 #1E3571 #2B4CA1 #3E65CC

Accessibility & contrast

On white

11.65
#1E3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3571
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3571#FFFFFF#000000##FFFFFF
##1E35711.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e3571;
/* rgb */ color: rgb(30, 53, 113);
/* oklch */ color: oklch(34.7% 0.108 265.4);
Tailwind
colors: {
  custom: {
    50: '#656b9a',
    500: '#1e3571',
    950: '#000000',
  },
}
SCSS
$custom: #1e3571;
$custom-light: #656b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3571",
  "rgb": {
    "r": 30,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 223.373,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34718,
    "c": 0.10769,
    "h": 265.4
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#1E3571
secondary
#A58B46
accent
#B647E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E3571

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

Preview Lab → · Contrast checker → · Palette generator →

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