#1D3C8E#1D3C8E

#1D3C8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.141 H 264.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#1D3C8E
RGBrgb(29, 60, 142)
HSLhsl(224, 66%, 34%)
HSVhsv(224, 80%, 56%)
CMYKcmyk(79.6%, 57.7%, 0%, 44.3%)
CIE-LABlab(27.97, 20.10, -48.70)
CIE-LCHlch(27.97, 52.69, 292.43°)
OKLaboklab(38.63% -0.0128 -0.1405)
OKLCHoklch(38.63% 0.141 264.8)
XYZxyz(7.0033, 5.4451, 26.2679)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C8E #8E6F1D
analogous
#1D748E #1D3C8E #361D8E
triadic
#1D3C8E #8E1D3C #3C8E1D
tetradic
#1D3C8E #8E1D74 #8E6F1D #1D8E36
square
#1D3C8E #8E1D74 #8E6F1D #1D8E36
split-complementary
#1D3C8E #8E361D #748E1D
monochromatic
#081128 #13275B #1D3C8E #2751C1 #4B72DA

Accessibility & contrast

On white

10.05
#1D3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D3C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C8E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C8E#FFFFFF#000000##FFFFFF
##1D3C8E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3c8e;
/* rgb */ color: rgb(29, 60, 142);
/* oklch */ color: oklch(38.6% 0.141 264.8);
Tailwind
colors: {
  custom: {
    50: '#6c71b0',
    500: '#1d3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c8e;
$custom-light: #6c71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c8e",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 223.54,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38634,
    "c": 0.14113,
    "h": 264.8
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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