#1D2B9A#1D2B9A

#1D2B9A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.178 H 268.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1D2B9A
RGBrgb(29, 43, 154)
HSLhsl(233, 68%, 36%)
HSVhsv(233, 81%, 60%)
CMYKcmyk(81.2%, 72.1%, 0%, 39.6%)
CIE-LABlab(24.71, 36.12, -61.42)
CIE-LCHlch(24.71, 71.25, 300.46°)
OKLaboklab(36.57% -0.0033 -0.1779)
OKLCHoklch(36.57% 0.178 268.9)
XYZxyz(7.2013, 4.3212, 31.0201)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B9A #9A8C1D
analogous
#1D699A #1D2B9A #4D1D9A
triadic
#1D2B9A #9A1D2B #2B9A1D
tetradic
#1D2B9A #9A1D69 #9A8C1D #1D9A4D
square
#1D2B9A #9A1D69 #9A8C1D #1D9A4D
split-complementary
#1D2B9A #9A4D1D #699A1D
monochromatic
#0A0E33 #131D66 #1D2B9A #2739CE #5362DF

Accessibility & contrast

On white

11.26
#1D2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D2B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B9A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B9A#FFFFFF#000000##FFFFFF
##1D2B9A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d2b9a;
/* rgb */ color: rgb(29, 43, 154);
/* oklch */ color: oklch(36.6% 0.178 268.9);
Tailwind
colors: {
  custom: {
    50: '#7165b9',
    500: '#1d2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b9a;
$custom-light: #7165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b9a",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 233.28,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36569,
    "c": 0.17795,
    "h": 268.9
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#1D2B9A
secondary
#C2B551
accent
#D83DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1D2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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