#1D2C8B#1D2C8B

#1D2C8B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.157 H 269.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1D2C8B
RGBrgb(29, 44, 139)
HSLhsl(232, 65%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(79.1%, 68.3%, 0%, 45.5%)
CIE-LABlab(23.43, 29.88, -54.26)
CIE-LCHlch(23.43, 61.94, 298.84°)
OKLaboklab(35.18% -0.0023 -0.1571)
OKLCHoklch(35.18% 0.157 269.1)
XYZxyz(6.0660, 3.9260, 24.8592)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C8B #8B7C1D
analogous
#1D638B #1D2C8B #451D8B
triadic
#1D2C8B #8B1D2C #2C8B1D
tetradic
#1D2C8B #8B1D63 #8B7C1D #1D8B45
square
#1D2C8B #8B1D63 #8B7C1D #1D8B45
split-complementary
#1D2C8B #8B451D #638B1D
monochromatic
#080C26 #121C58 #1D2C8B #283CBE #495DD9

Accessibility & contrast

On white

11.76
#1D2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2C8B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C8B#FFFFFF#000000##FFFFFF
##1D2C8B1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2c8b;
/* rgb */ color: rgb(29, 44, 139);
/* oklch */ color: oklch(35.2% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d65ae',
    500: '#1d2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c8b;
$custom-light: #6d65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c8b",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 231.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35182,
    "c": 0.15708,
    "h": 269.1
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#1D2C8B
secondary
#BBAC49
accent
#D13FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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