#1D407B#1D407B

#1D407B is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.108 H 260.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#1D407B
RGBrgb(29, 64, 123)
HSLhsl(218, 62%, 30%)
HSVhsv(218, 76%, 48%)
CMYKcmyk(76.4%, 48%, 0%, 51.8%)
CIE-LABlab(27.73, 9.64, -37.26)
CIE-LCHlch(27.73, 38.48, 284.51°)
OKLaboklab(38% -0.0185 -0.1068)
OKLCHoklch(38% 0.108 260.2)
XYZxyz(5.9140, 5.3574, 19.4575)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D407B #7B581D
analogous
#1D6F7B #1D407B #291D7B
triadic
#1D407B #7B1D40 #407B1D
tetradic
#1D407B #7B1D6F #7B581D #1D7B29
square
#1D407B #7B1D6F #7B581D #1D7B29
split-complementary
#1D407B #7B291D #6F7B1D
monochromatic
#060D19 #112649 #1D407B #295AAD #4077D2

Accessibility & contrast

On white

10.14
#1D407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1D407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D407B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D407B#FFFFFF#000000##FFFFFF
##1D407B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#0B3D7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d407b;
/* rgb */ color: rgb(29, 64, 123);
/* oklch */ color: oklch(38.0% 0.108 260.2);
Tailwind
colors: {
  custom: {
    50: '#6774a1',
    500: '#1d407b',
    950: '#000000',
  },
}
SCSS
$custom: #1d407b;
$custom-light: #6774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d407b",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 217.66,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.1084,
    "h": 260.2
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#1D407B
secondary
#AF8745
accent
#A943E5
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D407B

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

Preview Lab → · Contrast checker → · Palette generator →

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