#1E2972#1E2972

#1E2972 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.126 H 270.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1E2972
RGBrgb(30, 41, 114)
HSLhsl(232, 58%, 28%)
HSVhsv(232, 74%, 45%)
CMYKcmyk(73.7%, 64%, 0%, 55.3%)
CIE-LABlab(20.35, 22.38, -43.48)
CIE-LCHlch(20.35, 48.91, 297.23°)
OKLaboklab(32.21% 0.0021 -0.1255)
OKLCHoklch(32.21% 0.126 270.9)
XYZxyz(4.3646, 3.0764, 16.2801)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2972 #72671E
analogous
#1E5372 #1E2972 #3D1E72
triadic
#1E2972 #721E29 #29721E
tetradic
#1E2972 #721E53 #72671E #1E723D
square
#1E2972 #721E53 #72671E #1E723D
split-complementary
#1E2972 #723D1E #53721E
monochromatic
#060918 #111842 #1E2972 #2B3AA2 #3E51CC

Accessibility & contrast

On white

13.00
#1E2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2972
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2972#FFFFFF#000000##FFFFFF
##1E29721.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2972;
/* rgb */ color: rgb(30, 41, 114);
/* oklch */ color: oklch(32.2% 0.126 270.9);
Tailwind
colors: {
  custom: {
    50: '#67629b',
    500: '#1e2972',
    950: '#000000',
  },
}
SCSS
$custom: #1e2972;
$custom-light: #67629b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2972",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 232.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32214,
    "c": 0.12551,
    "h": 270.9
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#1E2972
secondary
#A69946
accent
#CD46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2972

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

Preview Lab → · Contrast checker → · Palette generator →

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