#1D2C8F#1D2C8F

#1D2C8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.162 H 269.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1D2C8F
RGBrgb(29, 44, 143)
HSLhsl(232, 66%, 34%)
HSVhsv(232, 80%, 56%)
CMYKcmyk(79.7%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.82, 31.39, -56.10)
CIE-LCHlch(23.82, 64.29, 299.23°)
OKLaboklab(35.59% -0.0026 -0.1624)
OKLCHoklch(35.59% 0.162 269.1)
XYZxyz(6.3636, 4.0450, 26.4267)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C8F #8F801D
analogous
#1D658F #1D2C8F #471D8F
triadic
#1D2C8F #8F1D2C #2C8F1D
tetradic
#1D2C8F #8F1D65 #8F801D #1D8F47
square
#1D2C8F #8F1D65 #8F801D #1D8F47
split-complementary
#1D2C8F #8F471D #658F1D
monochromatic
#080D29 #131C5C #1D2C8F #273CC2 #4C5FDB

Accessibility & contrast

On white

11.61
#1D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C8F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C8F#FFFFFF#000000##FFFFFF
##1D2C8F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2c8f;
/* rgb */ color: rgb(29, 44, 143);
/* oklch */ color: oklch(35.6% 0.162 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e65b1',
    500: '#1d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c8f;
$custom-light: #6e65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c8f",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 232.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.16244,
    "h": 269.1
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#1D2C8F
secondary
#BDAE4B
accent
#D33FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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