#1D3C8B#1D3C8B

#1D3C8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.137 H 264.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#1D3C8B
RGBrgb(29, 60, 139)
HSLhsl(223, 65%, 33%)
HSVhsv(223, 79%, 55%)
CMYKcmyk(79.1%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.73, 18.90, -47.24)
CIE-LCHlch(27.73, 50.88, 291.81°)
OKLaboklab(38.38% -0.013 -0.1362)
OKLCHoklch(38.38% 0.137 264.5)
XYZxyz(6.7811, 5.3562, 25.0976)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C8B #8B6C1D
analogous
#1D738B #1D3C8B #351D8B
triadic
#1D3C8B #8B1D3C #3C8B1D
tetradic
#1D3C8B #8B1D73 #8B6C1D #1D8B35
square
#1D3C8B #8B1D73 #8B6C1D #1D8B35
split-complementary
#1D3C8B #8B351D #738B1D
monochromatic
#081026 #122658 #1D3C8B #2852BE #4972D9

Accessibility & contrast

On white

10.14
#1D3C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3C8B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C8B#FFFFFF#000000##FFFFFF
##1D3C8B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3c8b;
/* rgb */ color: rgb(29, 60, 139);
/* oklch */ color: oklch(38.4% 0.137 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b71ae',
    500: '#1d3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c8b;
$custom-light: #6b71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c8b",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 223.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38377,
    "c": 0.13687,
    "h": 264.5
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#1D3C8B
secondary
#BB9B49
accent
#B93FE8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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