#1E1872#1E1872

#1E1872 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.146 H 275.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1872
RGBrgb(30, 24, 114)
HSLhsl(244, 65%, 27%)
HSVhsv(244, 79%, 45%)
CMYKcmyk(73.7%, 78.9%, 0%, 55.3%)
CIE-LABlab(16.22, 33.53, -50.25)
CIE-LCHlch(16.22, 60.41, 303.71°)
OKLaboklab(29.23% 0.0137 -0.1453)
OKLCHoklch(29.23% 0.146 275.4)
XYZxyz(3.8983, 2.1438, 16.1247)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1872 #6C7218
analogous
#183F72 #1E1872 #4B1872
triadic
#1E1872 #721E18 #18721E
tetradic
#1E1872 #72183F #6C7218 #18724B
square
#1E1872 #72183F #6C7218 #18724B
split-complementary
#1E1872 #724B18 #3F7218
monochromatic
#070519 #110D3F #1E1872 #2B23A5 #3C31D4

Accessibility & contrast

On white

14.70
#1E1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1872
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1872#FFFFFF#000000##FFFFFF
##1E18721.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1872;
/* rgb */ color: rgb(30, 24, 114);
/* oklch */ color: oklch(29.2% 0.146 275.4);
Tailwind
colors: {
  custom: {
    50: '#68579c',
    500: '#1e1872',
    950: '#000000',
  },
}
SCSS
$custom: #1e1872;
$custom-light: #68579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1872",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 244,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29232,
    "c": 0.14595,
    "h": 275.4
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#1E1872
secondary
#A0A73E
accent
#E840DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1872

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

Preview Lab → · Contrast checker → · Palette generator →

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