#1D2D8F#1D2D8F

#1D2D8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.161 H 268.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1D2D8F
RGBrgb(29, 45, 143)
HSLhsl(232, 66%, 34%)
HSVhsv(232, 80%, 56%)
CMYKcmyk(79.7%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.07, 30.73, -55.70)
CIE-LCHlch(24.07, 63.61, 298.89°)
OKLaboklab(35.77% -0.0032 -0.1612)
OKLCHoklch(35.77% 0.161 268.9)
XYZxyz(6.4013, 4.1204, 26.4392)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D8F #8F7F1D
analogous
#1D668F #1D2D8F #461D8F
triadic
#1D2D8F #8F1D2D #2D8F1D
tetradic
#1D2D8F #8F1D66 #8F7F1D #1D8F46
square
#1D2D8F #8F1D66 #8F7F1D #1D8F46
split-complementary
#1D2D8F #8F461D #668F1D
monochromatic
#080D29 #131D5C #1D2D8F #273DC2 #4C60DB

Accessibility & contrast

On white

11.51
#1D2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D8F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D8F#FFFFFF#000000##FFFFFF
##1D2D8F1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2d8f;
/* rgb */ color: rgb(29, 45, 143);
/* oklch */ color: oklch(35.8% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e66b1',
    500: '#1d2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d8f;
$custom-light: #6e66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d8f",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 231.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35769,
    "c": 0.16127,
    "h": 268.9
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#1D2D8F
secondary
#BDAD4B
accent
#D13FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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