#1D2D8D#1D2D8D

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

Color values

HEX#1D2D8D
RGBrgb(29, 45, 141)
HSLhsl(231, 66%, 33%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(79.4%, 68.1%, 0%, 44.7%)
CIE-LABlab(23.87, 29.97, -54.78)
CIE-LCHlch(23.87, 62.44, 298.69°)
OKLaboklab(35.57% -0.0031 -0.1585)
OKLCHoklch(35.57% 0.159 268.9)
XYZxyz(6.2511, 4.0604, 25.6484)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D8D #8D7D1D
analogous
#1D658D #1D2D8D #451D8D
triadic
#1D2D8D #8D1D2D #2D8D1D
tetradic
#1D2D8D #8D1D65 #8D7D1D #1D8D45
square
#1D2D8D #8D1D65 #8D7D1D #1D8D45
split-complementary
#1D2D8D #8D451D #658D1D
monochromatic
#080D27 #131D5A #1D2D8D #273DC0 #4B5FDA

Accessibility & contrast

On white

11.59
#1D2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D8D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D8D#FFFFFF#000000##FFFFFF
##1D2D8D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2d8d;
/* rgb */ color: rgb(29, 45, 141);
/* oklch */ color: oklch(35.6% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1d2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d8d;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d8d",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 231.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35566,
    "c": 0.15858,
    "h": 268.9
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#1D2D8D
secondary
#BCAC4A
accent
#D13FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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