#1D2488#1D2488

#1D2488 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.162 H 270.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1D2488
RGBrgb(29, 36, 136)
HSLhsl(236, 65%, 32%)
HSVhsv(236, 79%, 53%)
CMYKcmyk(78.7%, 73.5%, 0%, 46.7%)
CIE-LABlab(21.21, 33.95, -56.04)
CIE-LCHlch(21.21, 65.52, 301.21°)
OKLaboklab(33.49% 0.0022 -0.1622)
OKLCHoklch(33.49% 0.162 270.8)
XYZxyz(5.5800, 3.2999, 23.6306)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2488 #88811D
analogous
#1D5988 #1D2488 #4C1D88
triadic
#1D2488 #881D24 #24881D
tetradic
#1D2488 #881D59 #88811D #1D884C
square
#1D2488 #881D59 #88811D #1D884C
split-complementary
#1D2488 #884C1D #59881D
monochromatic
#070923 #121756 #1D2488 #2831BA #4851D8

Accessibility & contrast

On white

12.65
#1D2488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2488
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2488#FFFFFF#000000##FFFFFF
##1D24881.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2488;
/* rgb */ color: rgb(29, 36, 136);
/* oklch */ color: oklch(33.5% 0.162 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d5fac',
    500: '#1d2488',
    950: '#000000',
  },
}
SCSS
$custom: #1d2488;
$custom-light: #6d5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2488",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 236.075,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.16227,
    "h": 270.8
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#1D2488
secondary
#BAB247
accent
#DD40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2488

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

Preview Lab → · Contrast checker → · Palette generator →

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