#1E1888#1E1888

#1E1888 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.174 H 272.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1E1888
RGBrgb(30, 24, 136)
HSLhsl(243, 70%, 31%)
HSVhsv(243, 82%, 53%)
CMYKcmyk(77.9%, 82.4%, 0%, 46.7%)
CIE-LABlab(18.83, 40.96, -59.97)
CIE-LCHlch(18.83, 72.63, 304.33°)
OKLaboklab(31.82% 0.0084 -0.1735)
OKLCHoklch(31.82% 0.174 272.8)
XYZxyz(5.3045, 2.7063, 23.5306)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1888 #828818
analogous
#184A88 #1E1888 #561888
triadic
#1E1888 #881E18 #18881E
tetradic
#1E1888 #88184A #828818 #188856
square
#1E1888 #88184A #828818 #188856
split-complementary
#1E1888 #885618 #4A8818
monochromatic
#070620 #130F54 #1E1888 #2921BC #463EDD

Accessibility & contrast

On white

13.62
#1E1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1888
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1888#FFFFFF#000000##FFFFFF
##1E18881.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002886
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e1888;
/* rgb */ color: rgb(30, 24, 136);
/* oklch */ color: oklch(31.8% 0.174 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e58ac',
    500: '#1e1888',
    950: '#000000',
  },
}
SCSS
$custom: #1e1888;
$custom-light: #6e58ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1888",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 243.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.17373,
    "h": 272.8
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#1E1888
secondary
#B5BC40
accent
#ED3BE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E1888

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

Preview Lab → · Contrast checker → · Palette generator →

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