#1D417D#1D417D

#1D417D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.110 H 260.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#1D417D
RGBrgb(29, 65, 125)
HSLhsl(218, 62%, 30%)
HSVhsv(218, 77%, 49%)
CMYKcmyk(76.8%, 48%, 0%, 51%)
CIE-LABlab(28.17, 9.76, -37.80)
CIE-LCHlch(28.17, 39.04, 284.48°)
OKLaboklab(38.39% -0.019 -0.1084)
OKLCHoklch(38.39% 0.11 260)
XYZxyz(6.0973, 5.5218, 20.1425)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D417D #7D591D
analogous
#1D717D #1D417D #291D7D
triadic
#1D417D #7D1D41 #417D1D
tetradic
#1D417D #7D1D71 #7D591D #1D7D29
square
#1D417D #7D1D71 #7D591D #1D7D29
split-complementary
#1D417D #7D291D #717D1D
monochromatic
#060D1A #11274B #1D417D #295BAF #4178D3

Accessibility & contrast

On white

9.98
#1D417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D417D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D417D#FFFFFF#000000##FFFFFF
##1D417D1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#0B3E7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d417d;
/* rgb */ color: rgb(29, 65, 125);
/* oklch */ color: oklch(38.4% 0.110 260.0);
Tailwind
colors: {
  custom: {
    50: '#6775a3',
    500: '#1d417d',
    950: '#000000',
  },
}
SCSS
$custom: #1d417d;
$custom-light: #6775a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d417d",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 217.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.11005,
    "h": 260
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#1D417D
secondary
#B18845
accent
#A842E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D417D

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

Preview Lab → · Contrast checker → · Palette generator →

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