#1E3871#1E3871

#1E3871 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.104 H 263.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1E3871
RGBrgb(30, 56, 113)
HSLhsl(221, 58%, 28%)
HSVhsv(221, 73%, 44%)
CMYKcmyk(73.5%, 50.4%, 0%, 55.7%)
CIE-LABlab(24.63, 11.34, -35.91)
CIE-LCHlch(24.63, 37.66, 287.53°)
OKLaboklab(35.41% -0.0116 -0.103)
OKLCHoklch(35.41% 0.104 263.6)
XYZxyz(4.9292, 4.2961, 16.1890)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3871 #71571E
analogous
#1E6171 #1E3871 #2D1E71
triadic
#1E3871 #711E38 #38711E
tetradic
#1E3871 #711E61 #71571E #1E712D
square
#1E3871 #711E61 #71571E #1E712D
split-complementary
#1E3871 #712D1E #61711E
monochromatic
#060C18 #112041 #1E3871 #2B50A1 #3E6ACC

Accessibility & contrast

On white

11.29
#1E3871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E3871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3871
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3871#FFFFFF#000000##FFFFFF
##1E38711.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F73
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3871;
/* rgb */ color: rgb(30, 56, 113);
/* oklch */ color: oklch(35.4% 0.104 263.6);
Tailwind
colors: {
  custom: {
    50: '#656e9a',
    500: '#1e3871',
    950: '#000000',
  },
}
SCSS
$custom: #1e3871;
$custom-light: #656e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3871",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 221.205,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.10362,
    "h": 263.6
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#1E3871
secondary
#A58746
accent
#B147E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1E3871

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

Preview Lab → · Contrast checker → · Palette generator →

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