#1D2B8B#1D2B8B

#1D2B8B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.158 H 269.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1D2B8B
RGBrgb(29, 43, 139)
HSLhsl(232, 65%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(79.1%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.18, 30.54, -54.67)
CIE-LCHlch(23.18, 62.62, 299.19°)
OKLaboklab(35% -0.0018 -0.1582)
OKLCHoklch(35% 0.158 269.4)
XYZxyz(6.0292, 3.8524, 24.8469)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B8B #8B7D1D
analogous
#1D628B #1D2B8B #461D8B
triadic
#1D2B8B #8B1D2B #2B8B1D
tetradic
#1D2B8B #8B1D62 #8B7D1D #1D8B46
square
#1D2B8B #8B1D62 #8B7D1D #1D8B46
split-complementary
#1D2B8B #8B461D #628B1D
monochromatic
#080C26 #121B58 #1D2B8B #283BBE #495CD9

Accessibility & contrast

On white

11.86
#1D2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B8B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B8B#FFFFFF#000000##FFFFFF
##1D2B8B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2b8b;
/* rgb */ color: rgb(29, 43, 139);
/* oklch */ color: oklch(35.0% 0.158 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d64ae',
    500: '#1d2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b8b;
$custom-light: #6d64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b8b",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 232.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35002,
    "c": 0.15826,
    "h": 269.4
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#1D2B8B
secondary
#BBAD49
accent
#D33FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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