#1E3771#1E3771

#1E3771 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.105 H 264.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1E3771
RGBrgb(30, 55, 113)
HSLhsl(222, 58%, 28%)
HSVhsv(222, 73%, 44%)
CMYKcmyk(73.5%, 51.3%, 0%, 55.7%)
CIE-LABlab(24.32, 12.05, -36.40)
CIE-LCHlch(24.32, 38.34, 288.32°)
OKLaboklab(35.18% -0.0106 -0.1044)
OKLCHoklch(35.18% 0.105 264.2)
XYZxyz(4.8812, 4.2001, 16.1730)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3771 #71581E
analogous
#1E6071 #1E3771 #2F1E71
triadic
#1E3771 #711E37 #37711E
tetradic
#1E3771 #711E60 #71581E #1E712F
square
#1E3771 #711E60 #71581E #1E712F
split-complementary
#1E3771 #712F1E #60711E
monochromatic
#060C18 #111F41 #1E3771 #2B4FA1 #3E68CC

Accessibility & contrast

On white

11.41
#1E3771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3771
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3771#FFFFFF#000000##FFFFFF
##1E37711.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3771;
/* rgb */ color: rgb(30, 55, 113);
/* oklch */ color: oklch(35.2% 0.105 264.2);
Tailwind
colors: {
  custom: {
    50: '#656d9a',
    500: '#1e3771',
    950: '#000000',
  },
}
SCSS
$custom: #1e3771;
$custom-light: #656d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3771",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 221.928,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35178,
    "c": 0.10498,
    "h": 264.2
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#1E3771
secondary
#A58846
accent
#B347E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1E3771

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

Preview Lab → · Contrast checker → · Palette generator →

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