#1D417C#1D417C

#1D417C is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.109 H 259.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#1D417C
RGBrgb(29, 65, 124)
HSLhsl(217, 62%, 30%)
HSVhsv(217, 77%, 49%)
CMYKcmyk(76.6%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.10, 9.35, -37.28)
CIE-LCHlch(28.10, 38.44, 284.08°)
OKLaboklab(38.31% -0.0192 -0.1069)
OKLCHoklch(38.31% 0.109 259.8)
XYZxyz(6.0338, 5.4964, 19.8078)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D417C #7C581D
analogous
#1D717C #1D417C #281D7C
triadic
#1D417C #7C1D41 #417C1D
tetradic
#1D417C #7C1D71 #7C581D #1D7C28
square
#1D417C #7C1D71 #7C581D #1D7C28
split-complementary
#1D417C #7C281D #717C1D
monochromatic
#060D19 #11274A #1D417C #295BAE #4178D3

Accessibility & contrast

On white

10.00
#1D417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D417C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D417C#FFFFFF#000000##FFFFFF
##1D417C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#0D3E7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d417c;
/* rgb */ color: rgb(29, 65, 124);
/* oklch */ color: oklch(38.3% 0.109 259.8);
Tailwind
colors: {
  custom: {
    50: '#6775a2',
    500: '#1d417c',
    950: '#000000',
  },
}
SCSS
$custom: #1d417c;
$custom-light: #6775a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d417c",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 217.263,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.10858,
    "h": 259.8
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#1D417C
secondary
#B08745
accent
#A843E5
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D417C

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

Preview Lab → · Contrast checker → · Palette generator →

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