#1D2188#1D2188

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

Color values

HEX#1D2188
RGBrgb(29, 33, 136)
HSLhsl(238, 65%, 32%)
HSVhsv(238, 79%, 53%)
CMYKcmyk(78.7%, 75.7%, 0%, 46.7%)
CIE-LABlab(20.54, 35.81, -57.14)
CIE-LCHlch(20.54, 67.43, 302.07°)
OKLaboklab(33.01% 0.0036 -0.1654)
OKLCHoklch(33.01% 0.165 271.3)
XYZxyz(5.4930, 3.1259, 23.6016)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2188 #88841D
analogous
#1D5788 #1D2188 #4F1D88
triadic
#1D2188 #881D21 #21881D
tetradic
#1D2188 #881D57 #88841D #1D884F
square
#1D2188 #881D57 #88841D #1D884F
split-complementary
#1D2188 #884F1D #57881D
monochromatic
#070923 #121556 #1D2188 #282DBA #484DD8

Accessibility & contrast

On white

12.92
#1D2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2188
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2188#FFFFFF#000000##FFFFFF
##1D21881.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2188;
/* rgb */ color: rgb(29, 33, 136);
/* oklch */ color: oklch(33.0% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d5dac',
    500: '#1d2188',
    950: '#000000',
  },
}
SCSS
$custom: #1d2188;
$custom-light: #6d5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2188",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 237.757,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33009,
    "c": 0.16547,
    "h": 271.3
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#1D2188
secondary
#BAB647
accent
#E240E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2188

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

Preview Lab → · Contrast checker → · Palette generator →

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