#1D2C8A#1D2C8A

#1D2C8A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.156 H 269.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1D2C8A
RGBrgb(29, 44, 138)
HSLhsl(232, 65%, 33%)
HSVhsv(232, 79%, 54%)
CMYKcmyk(79%, 68.1%, 0%, 45.9%)
CIE-LABlab(23.33, 29.50, -53.80)
CIE-LCHlch(23.33, 61.36, 298.73°)
OKLaboklab(35.08% -0.0023 -0.1557)
OKLCHoklch(35.08% 0.156 269.2)
XYZxyz(5.9932, 3.8969, 24.4761)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C8A #8A7B1D
analogous
#1D628A #1D2C8A #441D8A
triadic
#1D2C8A #8A1D2C #2C8A1D
tetradic
#1D2C8A #8A1D62 #8A7B1D #1D8A44
square
#1D2C8A #8A1D62 #8A7B1D #1D8A44
split-complementary
#1D2C8A #8A441D #628A1D
monochromatic
#080C25 #121C57 #1D2C8A #283CBD #495DD9

Accessibility & contrast

On white

11.80
#1D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C8A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C8A#FFFFFF#000000##FFFFFF
##1D2C8A1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2c8a;
/* rgb */ color: rgb(29, 44, 138);
/* oklch */ color: oklch(35.1% 0.156 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c65ad',
    500: '#1d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c8a;
$custom-light: #6c65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c8a",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 231.743,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.15572,
    "h": 269.2
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#1D2C8A
secondary
#BBAB48
accent
#D140E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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