#1D3E80#1D3E80

#1D3E80 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.118 H 262.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1D3E80
RGBrgb(29, 62, 128)
HSLhsl(220, 63%, 31%)
HSVhsv(220, 77%, 50%)
CMYKcmyk(77.3%, 51.6%, 0%, 49.8%)
CIE-LABlab(27.47, 13.06, -40.80)
CIE-LCHlch(27.47, 42.84, 287.75°)
OKLaboklab(37.92% -0.0158 -0.1173)
OKLCHoklch(37.92% 0.118 262.3)
XYZxyz(6.1242, 5.2643, 21.1112)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E80 #805F1D
analogous
#1D6F80 #1D3E80 #2D1D80
triadic
#1D3E80 #801D3E #3E801D
tetradic
#1D3E80 #801D6F #805F1D #1D802D
square
#1D3E80 #801D6F #805F1D #1D802D
split-complementary
#1D3E80 #802D1D #6F801D
monochromatic
#060E1C #12264E #1D3E80 #2856B2 #4373D4

Accessibility & contrast

On white

10.23
#1D3E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1D3E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E80
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E80#FFFFFF#000000##FFFFFF
##1D3E801.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174682
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3e80;
/* rgb */ color: rgb(29, 62, 128);
/* oklch */ color: oklch(37.9% 0.118 262.3);
Tailwind
colors: {
  custom: {
    50: '#6872a5',
    500: '#1d3e80',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e80;
$custom-light: #6872a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e80",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 128
  },
  "hsl": {
    "h": 220,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.11834,
    "h": 262.3
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#1D3E80
secondary
#B38F45
accent
#AF42E6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3E80

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

Preview Lab → · Contrast checker → · Palette generator →

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