#1E1F89#1E1F89

#1E1F89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.169 H 271.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#1E1F89
RGBrgb(30, 31, 137)
HSLhsl(239, 64%, 33%)
HSVhsv(239, 78%, 54%)
CMYKcmyk(78.1%, 77.4%, 0%, 46.3%)
CIE-LABlab(20.29, 37.44, -58.18)
CIE-LCHlch(20.29, 69.19, 302.76°)
OKLaboklab(32.88% 0.0055 -0.1684)
OKLCHoklch(32.88% 0.169 271.9)
XYZxyz(5.5392, 3.0615, 23.9611)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F89 #89881E
analogous
#1E5589 #1E1F89 #521E89
triadic
#1E1F89 #891E1F #1F891E
tetradic
#1E1F89 #891E55 #89881E #1E8952
square
#1E1F89 #891E55 #89881E #1E8952
split-complementary
#1E1F89 #89521E #55891E
monochromatic
#080825 #131457 #1E1F89 #292ABB #4A4BD7

Accessibility & contrast

On white

13.02
#1E1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F89
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F89#FFFFFF#000000##FFFFFF
##1E1F891.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1f89;
/* rgb */ color: rgb(30, 31, 137);
/* oklch */ color: oklch(32.9% 0.169 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e5cad',
    500: '#1e1f89',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f89;
$custom-light: #6e5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f89",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 239.439,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.16851,
    "h": 271.9
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#1E1F89
secondary
#BAB949
accent
#E641E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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