#1D3C8C#1D3C8C

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

Color values

HEX#1D3C8C
RGBrgb(29, 60, 140)
HSLhsl(223, 66%, 33%)
HSVhsv(223, 79%, 55%)
CMYKcmyk(79.3%, 57.1%, 0%, 45.1%)
CIE-LABlab(27.81, 19.30, -47.73)
CIE-LCHlch(27.81, 51.48, 292.02°)
OKLaboklab(38.46% -0.0129 -0.1377)
OKLCHoklch(38.46% 0.138 264.6)
XYZxyz(6.8545, 5.3856, 25.4841)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C8C #8C6D1D
analogous
#1D738C #1D3C8C #351D8C
triadic
#1D3C8C #8C1D3C #3C8C1D
tetradic
#1D3C8C #8C1D73 #8C6D1D #1D8C35
square
#1D3C8C #8C1D73 #8C6D1D #1D8C35
split-complementary
#1D3C8C #8C351D #738C1D
monochromatic
#081127 #122659 #1D3C8C #2852BF #4A72D9

Accessibility & contrast

On white

10.11
#1D3C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3C8C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C8C#FFFFFF#000000##FFFFFF
##1D3C8C1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3c8c;
/* rgb */ color: rgb(29, 60, 140);
/* oklch */ color: oklch(38.5% 0.138 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b71ae',
    500: '#1d3c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c8c;
$custom-light: #6b71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c8c",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 223.243,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38462,
    "c": 0.1383,
    "h": 264.6
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#1D3C8C
secondary
#BC9C49
accent
#B93FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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