#1E3972#1E3972

#1E3972 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.104 H 263.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#1E3972
RGBrgb(30, 57, 114)
HSLhsl(221, 58%, 28%)
HSVhsv(221, 74%, 45%)
CMYKcmyk(73.7%, 50%, 0%, 55.3%)
CIE-LABlab(25.00, 11.04, -35.94)
CIE-LCHlch(25.00, 37.60, 287.07°)
OKLaboklab(35.72% -0.0124 -0.103)
OKLCHoklch(35.72% 0.104 263.1)
XYZxyz(5.0347, 4.4167, 16.5035)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3972 #72571E
analogous
#1E6372 #1E3972 #2D1E72
triadic
#1E3972 #721E39 #39721E
tetradic
#1E3972 #721E63 #72571E #1E722D
square
#1E3972 #721E63 #72571E #1E722D
split-complementary
#1E3972 #722D1E #63721E
monochromatic
#060C18 #112142 #1E3972 #2B51A2 #3E6CCC

Accessibility & contrast

On white

11.15
#1E3972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1E3972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3972
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3972#FFFFFF#000000##FFFFFF
##1E39721.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#053871
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3972;
/* rgb */ color: rgb(30, 57, 114);
/* oklch */ color: oklch(35.7% 0.104 263.1);
Tailwind
colors: {
  custom: {
    50: '#666e9b',
    500: '#1e3972',
    950: '#000000',
  },
}
SCSS
$custom: #1e3972;
$custom-light: #666e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3972",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 220.714,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35722,
    "c": 0.1038,
    "h": 263.1
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#1E3972
secondary
#A68746
accent
#B046E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1E3972

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

Preview Lab → · Contrast checker → · Palette generator →

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