#1D2E9D#1D2E9D

#1D2E9D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.179 H 268.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1D2E9D
RGBrgb(29, 46, 157)
HSLhsl(232, 69%, 36%)
HSVhsv(232, 82%, 62%)
CMYKcmyk(81.5%, 70.7%, 0%, 38.4%)
CIE-LABlab(25.71, 35.32, -61.60)
CIE-LCHlch(25.71, 71.00, 299.83°)
OKLaboklab(37.39% -0.0049 -0.1784)
OKLCHoklch(37.39% 0.179 268.4)
XYZxyz(7.5674, 4.6486, 32.3902)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E9D #9D8C1D
analogous
#1D6E9D #1D2E9D #4C1D9D
triadic
#1D2E9D #9D1D2E #2E9D1D
tetradic
#1D2E9D #9D1D6E #9D8C1D #1D9D4C
square
#1D2E9D #9D1D6E #9D8C1D #1D9D4C
split-complementary
#1D2E9D #9D4C1D #6E9D1D
monochromatic
#0A1036 #131F69 #1D2E9D #273DD1 #5567E0

Accessibility & contrast

On white

10.88
#1D2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E9D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E9D#FFFFFF#000000##FFFFFF
##1D2E9D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d2e9d;
/* rgb */ color: rgb(29, 46, 157);
/* oklch */ color: oklch(37.4% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#7167bb',
    500: '#1d2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e9d;
$custom-light: #7167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e9d",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 232.031,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.17852,
    "h": 268.4
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#1D2E9D
secondary
#C3B453
accent
#D43CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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