#1D3C8D#1D3C8D

#1D3C8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.140 H 264.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1D3C8D
RGBrgb(29, 60, 141)
HSLhsl(223, 66%, 33%)
HSVhsv(223, 79%, 55%)
CMYKcmyk(79.4%, 57.4%, 0%, 44.7%)
CIE-LABlab(27.89, 19.70, -48.21)
CIE-LCHlch(27.89, 52.08, 292.23°)
OKLaboklab(38.55% -0.0129 -0.1391)
OKLCHoklch(38.55% 0.14 264.7)
XYZxyz(6.9286, 5.4152, 25.8742)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C8D #8D6E1D
analogous
#1D748D #1D3C8D #361D8D
triadic
#1D3C8D #8D1D3C #3C8D1D
tetradic
#1D3C8D #8D1D74 #8D6E1D #1D8D36
square
#1D3C8D #8D1D74 #8D6E1D #1D8D36
split-complementary
#1D3C8D #8D361D #748D1D
monochromatic
#081127 #13265A #1D3C8D #2752C0 #4B72DA

Accessibility & contrast

On white

10.08
#1D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C8D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C8D#FFFFFF#000000##FFFFFF
##1D3C8D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3c8d;
/* rgb */ color: rgb(29, 60, 141);
/* oklch */ color: oklch(38.5% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c71af',
    500: '#1d3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c8d;
$custom-light: #6c71af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c8d",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 223.393,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.13972,
    "h": 264.7
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#1D3C8D
secondary
#BC9C4A
accent
#BA3FE9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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