#1D3E7D#1D3E7D

#1D3E7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.114 H 261.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1D3E7D
RGBrgb(29, 62, 125)
HSLhsl(219, 62%, 30%)
HSVhsv(219, 77%, 49%)
CMYKcmyk(76.8%, 50.4%, 0%, 51%)
CIE-LABlab(27.26, 11.84, -39.27)
CIE-LCHlch(27.26, 41.01, 286.78°)
OKLaboklab(37.69% -0.0163 -0.1128)
OKLCHoklch(37.69% 0.114 261.8)
XYZxyz(5.9297, 5.1865, 20.0866)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E7D #7D5C1D
analogous
#1D6E7D #1D3E7D #2C1D7D
triadic
#1D3E7D #7D1D3E #3E7D1D
tetradic
#1D3E7D #7D1D6E #7D5C1D #1D7D2C
square
#1D3E7D #7D1D6E #7D5C1D #1D7D2C
split-complementary
#1D3E7D #7D2C1D #6E7D1D
monochromatic
#060D1A #11254B #1D3E7D #2957AF #4173D3

Accessibility & contrast

On white

10.31
#1D3E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1D3E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E7D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E7D#FFFFFF#000000##FFFFFF
##1D3E7D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3e7d;
/* rgb */ color: rgb(29, 62, 125);
/* oklch */ color: oklch(37.7% 0.114 261.8);
Tailwind
colors: {
  custom: {
    50: '#6872a3',
    500: '#1d3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e7d;
$custom-light: #6872a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e7d",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 219.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37687,
    "c": 0.11394,
    "h": 261.8
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#1D3E7D
secondary
#B18C45
accent
#AD42E5
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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