#1D2D8E#1D2D8E

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

Color values

HEX#1D2D8E
RGBrgb(29, 45, 142)
HSLhsl(232, 66%, 34%)
HSVhsv(232, 80%, 56%)
CMYKcmyk(79.6%, 68.3%, 0%, 44.3%)
CIE-LABlab(23.97, 30.35, -55.24)
CIE-LCHlch(23.97, 63.03, 298.79°)
OKLaboklab(35.67% -0.0031 -0.1599)
OKLCHoklch(35.67% 0.16 268.9)
XYZxyz(6.3259, 4.0903, 26.0420)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D8E #8E7E1D
analogous
#1D658E #1D2D8E #451D8E
triadic
#1D2D8E #8E1D2D #2D8E1D
tetradic
#1D2D8E #8E1D65 #8E7E1D #1D8E45
square
#1D2D8E #8E1D65 #8E7E1D #1D8E45
split-complementary
#1D2D8E #8E451D #658E1D
monochromatic
#080D28 #131D5B #1D2D8E #273DC1 #4B5FDA

Accessibility & contrast

On white

11.55
#1D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D8E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D8E#FFFFFF#000000##FFFFFF
##1D2D8E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2d8e;
/* rgb */ color: rgb(29, 45, 142);
/* oklch */ color: oklch(35.7% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d66b0',
    500: '#1d2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d8e;
$custom-light: #6d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d8e",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 231.504,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35667,
    "c": 0.15992,
    "h": 268.9
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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