#1D3B79#1D3B79

#1D3B79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.112 H 262.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#1D3B79
RGBrgb(29, 59, 121)
HSLhsl(220, 61%, 29%)
HSVhsv(220, 76%, 47%)
CMYKcmyk(76%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.07, 12.32, -38.67)
CIE-LCHlch(26.07, 40.59, 287.67°)
OKLaboklab(36.68% -0.0141 -0.1111)
OKLCHoklch(36.68% 0.112 262.7)
XYZxyz(5.5206, 4.7690, 18.7150)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3B79 #795B1D
analogous
#1D6979 #1D3B79 #2D1D79
triadic
#1D3B79 #791D3B #3B791D
tetradic
#1D3B79 #791D69 #795B1D #1D792D
square
#1D3B79 #791D69 #795B1D #1D792D
split-complementary
#1D3B79 #792D1D #69791D
monochromatic
#060C19 #112348 #1D3B79 #2953AA #3F6FD1

Accessibility & contrast

On white

10.75
#1D3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1D3B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3B79
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3B79#FFFFFF#000000##FFFFFF
##1D3B791.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3b79;
/* rgb */ color: rgb(29, 59, 121);
/* oklch */ color: oklch(36.7% 0.112 262.7);
Tailwind
colors: {
  custom: {
    50: '#6770a0',
    500: '#1d3b79',
    950: '#000000',
  },
}
SCSS
$custom: #1d3b79;
$custom-light: #6770a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3b79",
  "rgb": {
    "r": 29,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 220.435,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36683,
    "c": 0.11197,
    "h": 262.7
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#1D3B79
secondary
#AD8B45
accent
#B043E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1D3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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