#1E2372#1E2372

#1E2372 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.133 H 272.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1E2372
RGBrgb(30, 35, 114)
HSLhsl(236, 58%, 28%)
HSVhsv(236, 74%, 45%)
CMYKcmyk(73.7%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.77, 26.52, -46.07)
CIE-LCHlch(18.77, 53.16, 299.93°)
OKLaboklab(31.06% 0.0067 -0.1331)
OKLCHoklch(31.06% 0.133 272.9)
XYZxyz(4.1727, 2.6926, 16.2161)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2372 #726D1E
analogous
#1E4D72 #1E2372 #431E72
triadic
#1E2372 #721E23 #23721E
tetradic
#1E2372 #721E4D #726D1E #1E7243
square
#1E2372 #721E4D #726D1E #1E7243
split-complementary
#1E2372 #72431E #4D721E
monochromatic
#060718 #111442 #1E2372 #2B32A2 #3E47CC

Accessibility & contrast

On white

13.65
#1E2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2372
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2372#FFFFFF#000000##FFFFFF
##1E23721.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e2372;
/* rgb */ color: rgb(30, 35, 114);
/* oklch */ color: oklch(31.1% 0.133 272.9);
Tailwind
colors: {
  custom: {
    50: '#675e9b',
    500: '#1e2372',
    950: '#000000',
  },
}
SCSS
$custom: #1e2372;
$custom-light: #675e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2372",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 236.429,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31056,
    "c": 0.13328,
    "h": 272.9
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#1E2372
secondary
#A6A046
accent
#D846E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2372

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

Preview Lab → · Contrast checker → · Palette generator →

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