#1D1E89#1D1E89

#1D1E89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.170 H 271.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1D1E89
RGBrgb(29, 30, 137)
HSLhsl(239, 65%, 33%)
HSVhsv(239, 79%, 54%)
CMYKcmyk(78.8%, 78.1%, 0%, 46.3%)
CIE-LABlab(20.03, 37.94, -58.62)
CIE-LCHlch(20.03, 69.82, 302.91°)
OKLaboklab(32.68% 0.0047 -0.1697)
OKLCHoklch(32.68% 0.17 271.6)
XYZxyz(5.4848, 2.9953, 23.9511)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E89 #89881D
analogous
#1D5489 #1D1E89 #521D89
triadic
#1D1E89 #891D1E #1E891D
tetradic
#1D1E89 #891D54 #89881D #1D8952
square
#1D1E89 #891D54 #89881D #1D8952
split-complementary
#1D1E89 #89521D #54891D
monochromatic
#080824 #121356 #1D1E89 #2829BC #4849D8

Accessibility & contrast

On white

13.13
#1D1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1E89
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E89#FFFFFF#000000##FFFFFF
##1D1E891.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d1e89;
/* rgb */ color: rgb(29, 30, 137);
/* oklch */ color: oklch(32.7% 0.170 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d5cad',
    500: '#1d1e89',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e89;
$custom-light: #6d5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e89",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 239.444,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.16978,
    "h": 271.6
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#1D1E89
secondary
#BAB947
accent
#E640E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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