#1E1F88#1E1F88

#1E1F88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.167 H 271.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1E1F88
RGBrgb(30, 31, 136)
HSLhsl(239, 64%, 33%)
HSVhsv(239, 78%, 53%)
CMYKcmyk(77.9%, 77.2%, 0%, 46.7%)
CIE-LABlab(20.18, 37.09, -57.74)
CIE-LCHlch(20.18, 68.63, 302.71°)
OKLaboklab(32.77% 0.0057 -0.1671)
OKLCHoklch(32.77% 0.167 271.9)
XYZxyz(5.4678, 3.0330, 23.5850)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F88 #88871E
analogous
#1E5488 #1E1F88 #521E88
triadic
#1E1F88 #881E1F #1F881E
tetradic
#1E1F88 #881E54 #88871E #1E8852
square
#1E1F88 #881E54 #88871E #1E8852
split-complementary
#1E1F88 #88521E #54881E
monochromatic
#080824 #131456 #1E1F88 #292ABA #494BD7

Accessibility & contrast

On white

13.07
#1E1F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1F88
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F88#FFFFFF#000000##FFFFFF
##1E1F881.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1f88;
/* rgb */ color: rgb(30, 31, 136);
/* oklch */ color: oklch(32.8% 0.167 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d5cac',
    500: '#1e1f88',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f88;
$custom-light: #6d5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f88",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 239.434,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32765,
    "c": 0.16724,
    "h": 271.9
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#1E1F88
secondary
#B9B849
accent
#E541E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E1F88

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

Preview Lab → · Contrast checker → · Palette generator →

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