#1D407D#1D407D

#1D407D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.111 H 260.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1D407D
RGBrgb(29, 64, 125)
HSLhsl(218, 62%, 30%)
HSVhsv(218, 77%, 49%)
CMYKcmyk(76.8%, 48.8%, 0%, 51%)
CIE-LABlab(27.87, 10.45, -38.29)
CIE-LCHlch(27.87, 39.69, 285.27°)
OKLaboklab(38.15% -0.0181 -0.1098)
OKLCHoklch(38.15% 0.111 260.6)
XYZxyz(6.0404, 5.4080, 20.1236)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D407D #7D5A1D
analogous
#1D707D #1D407D #2A1D7D
triadic
#1D407D #7D1D40 #407D1D
tetradic
#1D407D #7D1D70 #7D5A1D #1D7D2A
square
#1D407D #7D1D70 #7D5A1D #1D7D2A
split-complementary
#1D407D #7D2A1D #707D1D
monochromatic
#060D1A #11274B #1D407D #2959AF #4176D3

Accessibility & contrast

On white

10.09
#1D407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D407D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D407D#FFFFFF#000000##FFFFFF
##1D407D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d407d;
/* rgb */ color: rgb(29, 64, 125);
/* oklch */ color: oklch(38.2% 0.111 260.6);
Tailwind
colors: {
  custom: {
    50: '#6774a3',
    500: '#1d407d',
    950: '#000000',
  },
}
SCSS
$custom: #1d407d;
$custom-light: #6774a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d407d",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 218.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.11133,
    "h": 260.6
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#1D407D
secondary
#B18945
accent
#AA42E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D407D

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

Preview Lab → · Contrast checker → · Palette generator →

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