#1D3C8F#1D3C8F

#1D3C8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.143 H 264.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1D3C8F
RGBrgb(29, 60, 143)
HSLhsl(224, 66%, 34%)
HSVhsv(224, 80%, 56%)
CMYKcmyk(79.7%, 58%, 0%, 43.9%)
CIE-LABlab(28.05, 20.50, -49.18)
CIE-LCHlch(28.05, 53.29, 292.63°)
OKLaboklab(38.72% -0.0128 -0.142)
OKLCHoklch(38.72% 0.143 264.9)
XYZxyz(7.0787, 5.4753, 26.6650)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C8F #8F701D
analogous
#1D758F #1D3C8F #371D8F
triadic
#1D3C8F #8F1D3C #3C8F1D
tetradic
#1D3C8F #8F1D75 #8F701D #1D8F37
square
#1D3C8F #8F1D75 #8F701D #1D8F37
split-complementary
#1D3C8F #8F371D #758F1D
monochromatic
#081129 #13275C #1D3C8F #2751C2 #4C73DB

Accessibility & contrast

On white

10.02
#1D3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D3C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C8F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C8F#FFFFFF#000000##FFFFFF
##1D3C8F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3c8f;
/* rgb */ color: rgb(29, 60, 143);
/* oklch */ color: oklch(38.7% 0.143 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c71b0',
    500: '#1d3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c8f;
$custom-light: #6c71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c8f",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 223.684,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.14254,
    "h": 264.9
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#1D3C8F
secondary
#BD9E4B
accent
#BB3FE9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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