#1D2B9E#1D2B9E

#1D2B9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.183 H 268.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#1D2B9E
RGBrgb(29, 43, 158)
HSLhsl(233, 69%, 37%)
HSVhsv(233, 82%, 62%)
CMYKcmyk(81.6%, 72.8%, 0%, 38%)
CIE-LABlab(25.13, 37.57, -63.17)
CIE-LCHlch(25.13, 73.49, 300.74°)
OKLaboklab(37% -0.0037 -0.183)
OKLCHoklch(37% 0.183 268.8)
XYZxyz(7.5400, 4.4567, 32.8040)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B9E #9E901D
analogous
#1D6C9E #1D2B9E #4F1D9E
triadic
#1D2B9E #9E1D2B #2B9E1D
tetradic
#1D2B9E #9E1D6C #9E901D #1D9E4F
square
#1D2B9E #9E1D6C #9E901D #1D9E4F
split-complementary
#1D2B9E #9E4F1D #6C9E1D
monochromatic
#0A0F37 #141D6A #1D2B9E #2639D2 #5665E0

Accessibility & contrast

On white

11.10
#1D2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D2B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B9E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B9E#FFFFFF#000000##FFFFFF
##1D2B9E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d2b9e;
/* rgb */ color: rgb(29, 43, 158);
/* oklch */ color: oklch(37.0% 0.183 268.8);
Tailwind
colors: {
  custom: {
    50: '#7265bc',
    500: '#1d2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b9e;
$custom-light: #7265bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b9e",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 233.488,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36998,
    "c": 0.18306,
    "h": 268.8
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#1D2B9E
secondary
#C3B754
accent
#D93CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1D2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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