#1D2B96#1D2B96

#1D2B96 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.173 H 269.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1D2B96
RGBrgb(29, 43, 150)
HSLhsl(233, 68%, 35%)
HSVhsv(233, 81%, 59%)
CMYKcmyk(80.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.29, 34.65, -59.65)
CIE-LCHlch(24.29, 68.98, 300.15°)
OKLaboklab(36.14% -0.0028 -0.1728)
OKLCHoklch(36.14% 0.173 269.1)
XYZxyz(6.8737, 4.1902, 29.2948)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B96 #96881D
analogous
#1D6796 #1D2B96 #4C1D96
triadic
#1D2B96 #961D2B #2B961D
tetradic
#1D2B96 #961D67 #96881D #1D964C
square
#1D2B96 #961D67 #96881D #1D964C
split-complementary
#1D2B96 #964C1D #67961D
monochromatic
#090E2F #131C63 #1D2B96 #273AC9 #5061DD

Accessibility & contrast

On white

11.42
#1D2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D2B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B96
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B96#FFFFFF#000000##FFFFFF
##1D2B961.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d2b96;
/* rgb */ color: rgb(29, 43, 150);
/* oklch */ color: oklch(36.1% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#7065b6',
    500: '#1d2b96',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b96;
$custom-light: #7065b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b96",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 233.058,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36145,
    "c": 0.17279,
    "h": 269.1
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#1D2B96
secondary
#C0B34F
accent
#D63DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1D2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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