#1E1372#1E1372

#1E1372 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.151 H 276.2°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#1E1372
RGBrgb(30, 19, 114)
HSLhsl(247, 71%, 26%)
HSVhsv(247, 83%, 45%)
CMYKcmyk(73.7%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.26, 36.31, -51.85)
CIE-LCHlch(15.26, 63.31, 305.00°)
OKLaboklab(28.55% 0.0163 -0.1499)
OKLCHoklch(28.55% 0.151 276.2)
XYZxyz(3.8046, 1.9563, 16.0934)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1372 #677213
analogous
#133772 #1E1372 #4D1372
triadic
#1E1372 #721E13 #13721E
tetradic
#1E1372 #721337 #677213 #13724D
square
#1E1372 #721337 #677213 #13724D
split-complementary
#1E1372 #724D13 #377213
monochromatic
#07041A #100A3E #1E1372 #2C1CA6 #3A25DB

Accessibility & contrast

On white

15.09
#1E1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1372
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1372#FFFFFF#000000##FFFFFF
##1E13721.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1372;
/* rgb */ color: rgb(30, 19, 114);
/* oklch */ color: oklch(28.6% 0.151 276.2);
Tailwind
colors: {
  custom: {
    50: '#69549c',
    500: '#1e1372',
    950: '#000000',
  },
}
SCSS
$custom: #1e1372;
$custom-light: #69549c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1372",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 246.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.15077,
    "h": 276.2
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#1E1372
secondary
#9CA938
accent
#EE3AD9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1372

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

Preview Lab → · Contrast checker → · Palette generator →

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