#1D2088#1D2088

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

Color values

HEX#1D2088
RGBrgb(29, 32, 136)
HSLhsl(238, 65%, 32%)
HSVhsv(238, 79%, 53%)
CMYKcmyk(78.7%, 76.5%, 0%, 46.7%)
CIE-LABlab(20.33, 36.41, -57.49)
CIE-LCHlch(20.33, 68.05, 302.35°)
OKLaboklab(32.86% 0.0041 -0.1664)
OKLCHoklch(32.86% 0.167 271.4)
XYZxyz(5.4656, 3.0712, 23.5925)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2088 #88851D
analogous
#1D5588 #1D2088 #501D88
triadic
#1D2088 #881D20 #20881D
tetradic
#1D2088 #881D55 #88851D #1D8850
square
#1D2088 #881D55 #88851D #1D8850
split-complementary
#1D2088 #88501D #55881D
monochromatic
#070823 #121456 #1D2088 #282CBA #484CD8

Accessibility & contrast

On white

13.01
#1D2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2088
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2088#FFFFFF#000000##FFFFFF
##1D20881.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2088;
/* rgb */ color: rgb(29, 32, 136);
/* oklch */ color: oklch(32.9% 0.167 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d5dac',
    500: '#1d2088',
    950: '#000000',
  },
}
SCSS
$custom: #1d2088;
$custom-light: #6d5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2088",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 238.318,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.1665,
    "h": 271.4
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2088

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

Preview Lab → · Contrast checker → · Palette generator →

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