#1D2C9F#1D2C9F

#1D2C9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.183 H 268.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1D2C9F
RGBrgb(29, 44, 159)
HSLhsl(233, 69%, 37%)
HSVhsv(233, 82%, 62%)
CMYKcmyk(81.8%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.46, 37.31, -63.23)
CIE-LCHlch(25.46, 73.42, 300.54°)
OKLaboklab(37.27% -0.0043 -0.1832)
OKLCHoklch(37.27% 0.183 268.7)
XYZxyz(7.6632, 4.5649, 33.2714)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C9F #9F901D
analogous
#1D6D9F #1D2C9F #4F1D9F
triadic
#1D2C9F #9F1D2C #2C9F1D
tetradic
#1D2C9F #9F1D6D #9F901D #1D9F4F
square
#1D2C9F #9F1D6D #9F901D #1D9F4F
split-complementary
#1D2C9F #9F4F1D #6D9F1D
monochromatic
#0A0F37 #141E6B #1D2C9F #263AD3 #5666E0

Accessibility & contrast

On white

10.98
#1D2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C9F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C9F#FFFFFF#000000##FFFFFF
##1D2C9F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d2c9f;
/* rgb */ color: rgb(29, 44, 159);
/* oklch */ color: oklch(37.3% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#7266bd',
    500: '#1d2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c9f;
$custom-light: #7266bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c9f",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 233.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.18326,
    "h": 268.7
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#1D2C9F
secondary
#C4B754
accent
#D83CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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