#1D3D80#1D3D80

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

Color values

HEX#1D3D80
RGBrgb(29, 61, 128)
HSLhsl(221, 63%, 31%)
HSVhsv(221, 77%, 50%)
CMYKcmyk(77.3%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.18, 13.76, -41.28)
CIE-LCHlch(27.18, 43.51, 288.43°)
OKLaboklab(37.69% -0.015 -0.1187)
OKLCHoklch(37.69% 0.12 262.8)
XYZxyz(6.0703, 5.1565, 21.0933)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D80 #80601D
analogous
#1D6E80 #1D3D80 #2E1D80
triadic
#1D3D80 #801D3D #3D801D
tetradic
#1D3D80 #801D6E #80601D #1D802E
square
#1D3D80 #801D6E #80601D #1D802E
split-complementary
#1D3D80 #802E1D #6E801D
monochromatic
#060D1C #12254E #1D3D80 #2855B2 #4372D4

Accessibility & contrast

On white

10.34
#1D3D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1D3D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D80
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D80#FFFFFF#000000##FFFFFF
##1D3D801.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3d80;
/* rgb */ color: rgb(29, 61, 128);
/* oklch */ color: oklch(37.7% 0.120 262.8);
Tailwind
colors: {
  custom: {
    50: '#6872a5',
    500: '#1d3d80',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d80;
$custom-light: #6872a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d80",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 220.606,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.11966,
    "h": 262.8
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#1D3D80
secondary
#B39045
accent
#B142E6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D3D80

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

Preview Lab → · Contrast checker → · Palette generator →

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