#1D3C8A#1D3C8A

#1D3C8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.135 H 264.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1D3C8A
RGBrgb(29, 60, 138)
HSLhsl(223, 65%, 33%)
HSVhsv(223, 79%, 54%)
CMYKcmyk(79%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.65, 18.50, -46.75)
CIE-LCHlch(27.65, 50.27, 291.59°)
OKLaboklab(38.29% -0.0131 -0.1348)
OKLCHoklch(38.29% 0.135 264.4)
XYZxyz(6.7084, 5.3271, 24.7145)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C8A #8A6B1D
analogous
#1D728A #1D3C8A #351D8A
triadic
#1D3C8A #8A1D3C #3C8A1D
tetradic
#1D3C8A #8A1D72 #8A6B1D #1D8A35
square
#1D3C8A #8A1D72 #8A6B1D #1D8A35
split-complementary
#1D3C8A #8A351D #728A1D
monochromatic
#081025 #122657 #1D3C8A #2852BD #4972D9

Accessibility & contrast

On white

10.17
#1D3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1D3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C8A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C8A#FFFFFF#000000##FFFFFF
##1D3C8A1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3c8a;
/* rgb */ color: rgb(29, 60, 138);
/* oklch */ color: oklch(38.3% 0.135 264.4);
Tailwind
colors: {
  custom: {
    50: '#6b71ad',
    500: '#1d3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c8a;
$custom-light: #6b71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c8a",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 222.936,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.13544,
    "h": 264.4
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#1D3C8A
secondary
#BB9A48
accent
#B840E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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