#1D2C96#1D2C96

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

Color values

HEX#1D2C96
RGBrgb(29, 44, 150)
HSLhsl(233, 68%, 35%)
HSVhsv(233, 81%, 59%)
CMYKcmyk(80.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(24.53, 34.01, -59.26)
CIE-LCHlch(24.53, 68.33, 299.85°)
OKLaboklab(36.31% -0.0033 -0.1716)
OKLCHoklch(36.31% 0.172 268.9)
XYZxyz(6.9105, 4.2638, 29.3070)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C96 #96871D
analogous
#1D6896 #1D2C96 #4A1D96
triadic
#1D2C96 #961D2C #2C961D
tetradic
#1D2C96 #961D68 #96871D #1D964A
square
#1D2C96 #961D68 #96871D #1D964A
split-complementary
#1D2C96 #964A1D #68961D
monochromatic
#090E2F #131D63 #1D2C96 #273BC9 #5062DD

Accessibility & contrast

On white

11.33
#1D2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C96
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C96#FFFFFF#000000##FFFFFF
##1D2C961.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.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: #1d2c96;
/* rgb */ color: rgb(29, 44, 150);
/* oklch */ color: oklch(36.3% 0.172 268.9);
Tailwind
colors: {
  custom: {
    50: '#7065b6',
    500: '#1d2c96',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c96;
$custom-light: #7065b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c96",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 232.562,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.17167,
    "h": 268.9
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#1D2C96
secondary
#C0B24F
accent
#D53DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1D2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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