#1E1988#1E1988

#1E1988 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.173 H 272.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1E1988
RGBrgb(30, 25, 136)
HSLhsl(243, 69%, 32%)
HSVhsv(243, 82%, 53%)
CMYKcmyk(77.9%, 81.6%, 0%, 46.7%)
CIE-LABlab(19.01, 40.44, -59.68)
CIE-LCHlch(19.01, 72.09, 304.12°)
OKLaboklab(31.94% 0.008 -0.1727)
OKLCHoklch(31.94% 0.173 272.7)
XYZxyz(5.3255, 2.7483, 23.5376)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1988 #838819
analogous
#194C88 #1E1988 #561988
triadic
#1E1988 #881E19 #19881E
tetradic
#1E1988 #88194C #838819 #198856
square
#1E1988 #88194C #838819 #198856
split-complementary
#1E1988 #885619 #4C8819
monochromatic
#070621 #130F54 #1E1988 #2923BC #4740DC

Accessibility & contrast

On white

13.55
#1E1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1988
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1988#FFFFFF#000000##FFFFFF
##1E19881.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1988;
/* rgb */ color: rgb(30, 25, 136);
/* oklch */ color: oklch(31.9% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e59ac',
    500: '#1e1988',
    950: '#000000',
  },
}
SCSS
$custom: #1e1988;
$custom-light: #6e59ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1988",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 242.703,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.17288,
    "h": 272.7
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#1E1988
secondary
#B6BB41
accent
#EC3CE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1988

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

Preview Lab → · Contrast checker → · Palette generator →

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