#1D3E7E#1D3E7E

#1D3E7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.115 H 262.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1D3E7E
RGBrgb(29, 62, 126)
HSLhsl(220, 63%, 30%)
HSVhsv(220, 77%, 49%)
CMYKcmyk(77%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.33, 12.25, -39.78)
CIE-LCHlch(27.33, 41.62, 287.11°)
OKLaboklab(37.76% -0.0161 -0.1143)
OKLCHoklch(37.76% 0.115 262)
XYZxyz(5.9939, 5.2122, 20.4248)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E7E #7E5D1D
analogous
#1D6E7E #1D3E7E #2D1D7E
triadic
#1D3E7E #7E1D3E #3E7E1D
tetradic
#1D3E7E #7E1D6E #7E5D1D #1D7E2D
square
#1D3E7E #7E1D6E #7E5D1D #1D7E2D
split-complementary
#1D3E7E #7E2D1D #6E7E1D
monochromatic
#060D1B #12264C #1D3E7E #2856B0 #4273D3

Accessibility & contrast

On white

10.28
#1D3E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3E7E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E7E#FFFFFF#000000##FFFFFF
##1D3E7E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3e7e;
/* rgb */ color: rgb(29, 62, 126);
/* oklch */ color: oklch(37.8% 0.115 262.0);
Tailwind
colors: {
  custom: {
    50: '#6872a4',
    500: '#1d3e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e7e;
$custom-light: #6872a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e7e",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 219.588,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.11541,
    "h": 262
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#1D3E7E
secondary
#B18D45
accent
#AE42E6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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