#1D2D8B#1D2D8B

#1D2D8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.156 H 268.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#1D2D8B
RGBrgb(29, 45, 139)
HSLhsl(231, 65%, 33%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(79.1%, 67.6%, 0%, 45.5%)
CIE-LABlab(23.68, 29.21, -53.85)
CIE-LCHlch(23.68, 61.26, 298.48°)
OKLaboklab(35.37% -0.0029 -0.1558)
OKLCHoklch(35.37% 0.156 268.9)
XYZxyz(6.1037, 4.0014, 24.8718)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D8B #8B7B1D
analogous
#1D648B #1D2D8B #441D8B
triadic
#1D2D8B #8B1D2D #2D8B1D
tetradic
#1D2D8B #8B1D64 #8B7B1D #1D8B44
square
#1D2D8B #8B1D64 #8B7B1D #1D8B44
split-complementary
#1D2D8B #8B441D #648B1D
monochromatic
#080C26 #121D58 #1D2D8B #283DBE #495ED9

Accessibility & contrast

On white

11.66
#1D2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D8B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D8B#FFFFFF#000000##FFFFFF
##1D2D8B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2d8b;
/* rgb */ color: rgb(29, 45, 139);
/* oklch */ color: oklch(35.4% 0.156 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c66ae',
    500: '#1d2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d8b;
$custom-light: #6c66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d8b",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 231.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35365,
    "c": 0.15588,
    "h": 268.9
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#1D2D8B
secondary
#BBAB49
accent
#D03FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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