#1D2D96#1D2D96

#1D2D96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.171 H 268.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1D2D96
RGBrgb(29, 45, 150)
HSLhsl(232, 68%, 35%)
HSVhsv(232, 81%, 59%)
CMYKcmyk(80.7%, 70%, 0%, 41.2%)
CIE-LABlab(24.76, 33.36, -58.87)
CIE-LCHlch(24.76, 67.67, 299.54°)
OKLaboklab(36.49% -0.0038 -0.1705)
OKLCHoklch(36.49% 0.171 268.7)
XYZxyz(6.9482, 4.3392, 29.3196)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D96 #96861D
analogous
#1D6A96 #1D2D96 #491D96
triadic
#1D2D96 #961D2D #2D961D
tetradic
#1D2D96 #961D6A #96861D #1D9649
square
#1D2D96 #961D6A #96861D #1D9649
split-complementary
#1D2D96 #96491D #6A961D
monochromatic
#090E2F #131E63 #1D2D96 #273CC9 #5063DD

Accessibility & contrast

On white

11.24
#1D2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D2D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D96
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D96#FFFFFF#000000##FFFFFF
##1D2D961.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d2d96;
/* rgb */ color: rgb(29, 45, 150);
/* oklch */ color: oklch(36.5% 0.171 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f66b6',
    500: '#1d2d96',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d96;
$custom-light: #6f66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d96",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 232.066,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36486,
    "c": 0.17054,
    "h": 268.7
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#1D2D96
secondary
#C0B14F
accent
#D43DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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