#1D1CA9#1D1CA9

#1D1CA9 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.2% C 0.210 H 269.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1D1CA9
RGBrgb(29, 28, 169)
HSLhsl(240, 72%, 39%)
HSVhsv(240, 83%, 66%)
CMYKcmyk(82.8%, 83.4%, 0%, 33.7%)
CIE-LABlab(23.52, 49.50, -72.50)
CIE-LCHlch(23.52, 87.79, 304.32°)
OKLaboklab(36.24% -0.0014 -0.2099)
OKLCHoklch(36.24% 0.21 269.6)
XYZxyz(8.0809, 3.9553, 37.8660)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1CA9 #A8A91C
analogous
#1C61A9 #1D1CA9 #631CA9
triadic
#1D1CA9 #A91D1C #1CA91D
tetradic
#1D1CA9 #A91C61 #A8A91C #1CA963
square
#1D1CA9 #A91C61 #A8A91C #1CA963
split-complementary
#1D1CA9 #A9631C #61A91C
monochromatic
#0B0B40 #141374 #1D1CA9 #2827DB #5C5BE4

Accessibility & contrast

On white

11.72
#1D1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1CA9
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1CA9#FFFFFF#000000##FFFFFF
##1D1CA91.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAD
Deuteranopia (green-blind)
#0030A7
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d1ca9;
/* rgb */ color: rgb(29, 28, 169);
/* oklch */ color: oklch(36.2% 0.210 269.6);
Tailwind
colors: {
  custom: {
    50: '#765dc4',
    500: '#1d1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #1d1ca9;
$custom-light: #765dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1ca9",
  "rgb": {
    "r": 29,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 240.426,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.20989,
    "h": 269.6
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#1D1CA9
secondary
#C7C859
accent
#EE39ED
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #1D1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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