#1E2872#1E2872

#1E2872 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.127 H 271.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1E2872
RGBrgb(30, 40, 114)
HSLhsl(233, 58%, 28%)
HSVhsv(233, 74%, 45%)
CMYKcmyk(73.7%, 64.9%, 0%, 55.3%)
CIE-LABlab(20.08, 23.08, -43.93)
CIE-LCHlch(20.08, 49.62, 297.72°)
OKLaboklab(32.01% 0.0029 -0.1268)
OKLCHoklch(32.01% 0.127 271.3)
XYZxyz(4.3304, 3.0081, 16.2687)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2872 #72681E
analogous
#1E5272 #1E2872 #3E1E72
triadic
#1E2872 #721E28 #28721E
tetradic
#1E2872 #721E52 #72681E #1E723E
square
#1E2872 #721E52 #72681E #1E723E
split-complementary
#1E2872 #723E1E #52721E
monochromatic
#060918 #111742 #1E2872 #2B39A2 #3E4FCC

Accessibility & contrast

On white

13.11
#1E2872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2872
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2872#FFFFFF#000000##FFFFFF
##1E28721.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2872;
/* rgb */ color: rgb(30, 40, 114);
/* oklch */ color: oklch(32.0% 0.127 271.3);
Tailwind
colors: {
  custom: {
    50: '#67619b',
    500: '#1e2872',
    950: '#000000',
  },
}
SCSS
$custom: #1e2872;
$custom-light: #67619b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2872",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 232.857,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.12683,
    "h": 271.3
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#1E2872
secondary
#A69B46
accent
#CF46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2872

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

Preview Lab → · Contrast checker → · Palette generator →

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