#1D2A9E#1D2A9E

#1D2A9E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.184 H 269.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1D2A9E
RGBrgb(29, 42, 158)
HSLhsl(234, 69%, 37%)
HSVhsv(234, 82%, 62%)
CMYKcmyk(81.6%, 73.4%, 0%, 38%)
CIE-LABlab(24.91, 38.18, -63.53)
CIE-LCHlch(24.91, 74.12, 301.01°)
OKLaboklab(36.84% -0.0033 -0.1841)
OKLCHoklch(36.84% 0.184 269)
XYZxyz(7.5041, 4.3849, 32.7920)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A9E #9E911D
analogous
#1D6B9E #1D2A9E #501D9E
triadic
#1D2A9E #9E1D2A #2A9E1D
tetradic
#1D2A9E #9E1D6B #9E911D #1D9E50
square
#1D2A9E #9E1D6B #9E911D #1D9E50
split-complementary
#1D2A9E #9E501D #6B9E1D
monochromatic
#0A0F37 #141C6A #1D2A9E #2638D2 #5663E0

Accessibility & contrast

On white

11.19
#1D2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D2A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A9E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A9E#FFFFFF#000000##FFFFFF
##1D2A9E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d2a9e;
/* rgb */ color: rgb(29, 42, 158);
/* oklch */ color: oklch(36.8% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#7264bc',
    500: '#1d2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a9e;
$custom-light: #7264bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a9e",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 233.953,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.18411,
    "h": 269
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#1D2A9E
secondary
#C3B854
accent
#DA3CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1D2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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