#1D2C9A#1D2C9A

#1D2C9A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.177 H 268.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#1D2C9A
RGBrgb(29, 44, 154)
HSLhsl(233, 68%, 36%)
HSVhsv(233, 81%, 60%)
CMYKcmyk(81.2%, 71.4%, 0%, 39.6%)
CIE-LABlab(24.94, 35.49, -61.04)
CIE-LCHlch(24.94, 70.60, 300.17°)
OKLaboklab(36.74% -0.0037 -0.1768)
OKLCHoklch(36.74% 0.177 268.8)
XYZxyz(7.2381, 4.3948, 31.0324)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C9A #9A8B1D
analogous
#1D6A9A #1D2C9A #4C1D9A
triadic
#1D2C9A #9A1D2C #2C9A1D
tetradic
#1D2C9A #9A1D6A #9A8B1D #1D9A4C
square
#1D2C9A #9A1D6A #9A8B1D #1D9A4C
split-complementary
#1D2C9A #9A4C1D #6A9A1D
monochromatic
#0A0F33 #131D66 #1D2C9A #273BCE #5364DF

Accessibility & contrast

On white

11.17
#1D2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2C9A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C9A#FFFFFF#000000##FFFFFF
##1D2C9A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d2c9a;
/* rgb */ color: rgb(29, 44, 154);
/* oklch */ color: oklch(36.7% 0.177 268.8);
Tailwind
colors: {
  custom: {
    50: '#7165b9',
    500: '#1d2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c9a;
$custom-light: #7165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c9a",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 232.8,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36735,
    "c": 0.17686,
    "h": 268.8
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#1D2C9A
secondary
#C2B451
accent
#D63DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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