#1D2C8D#1D2C8D

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

Color values

HEX#1D2C8D
RGBrgb(29, 44, 141)
HSLhsl(232, 66%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(79.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.62, 30.64, -55.18)
CIE-LCHlch(23.62, 63.12, 299.04°)
OKLaboklab(35.39% -0.0025 -0.1597)
OKLCHoklch(35.39% 0.16 269.1)
XYZxyz(6.2134, 3.9850, 25.6358)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C8D #8D7E1D
analogous
#1D648D #1D2C8D #461D8D
triadic
#1D2C8D #8D1D2C #2C8D1D
tetradic
#1D2C8D #8D1D64 #8D7E1D #1D8D46
square
#1D2C8D #8D1D64 #8D7E1D #1D8D46
split-complementary
#1D2C8D #8D461D #648D1D
monochromatic
#080C27 #131C5A #1D2C8D #273CC0 #4B5EDA

Accessibility & contrast

On white

11.68
#1D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C8D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C8D#FFFFFF#000000##FFFFFF
##1D2C8D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2c8d;
/* rgb */ color: rgb(29, 44, 141);
/* oklch */ color: oklch(35.4% 0.160 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d65af',
    500: '#1d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c8d;
$custom-light: #6d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c8d",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 231.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35385,
    "c": 0.15977,
    "h": 269.1
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#1D2C8D
secondary
#BCAD4A
accent
#D23FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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