#1D2089#1D2089

#1D2089 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.168 H 271.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1D2089
RGBrgb(29, 32, 137)
HSLhsl(238, 65%, 33%)
HSVhsv(238, 79%, 54%)
CMYKcmyk(78.8%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.44, 36.76, -57.93)
CIE-LCHlch(20.44, 68.61, 302.40°)
OKLaboklab(32.97% 0.0039 -0.1677)
OKLCHoklch(32.97% 0.168 271.3)
XYZxyz(5.5370, 3.0998, 23.9686)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2089 #89861D
analogous
#1D5689 #1D2089 #501D89
triadic
#1D2089 #891D20 #20891D
tetradic
#1D2089 #891D56 #89861D #1D8950
square
#1D2089 #891D56 #89861D #1D8950
split-complementary
#1D2089 #89501D #56891D
monochromatic
#080824 #121456 #1D2089 #282CBC #484CD8

Accessibility & contrast

On white

12.96
#1D2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2089
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2089#FFFFFF#000000##FFFFFF
##1D20891.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2089;
/* rgb */ color: rgb(29, 32, 137);
/* oklch */ color: oklch(33.0% 0.168 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d5dad',
    500: '#1d2089',
    950: '#000000',
  },
}
SCSS
$custom: #1d2089;
$custom-light: #6d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2089",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 238.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.16778,
    "h": 271.3
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#1D2089
secondary
#BAB747
accent
#E340E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2089

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

Preview Lab → · Contrast checker → · Palette generator →

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