#1D457F#1D457F

#1D457F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.108 H 258.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1D457F
RGBrgb(29, 69, 127)
HSLhsl(216, 63%, 31%)
HSVhsv(216, 77%, 50%)
CMYKcmyk(77.2%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.54, 7.82, -36.86)
CIE-LCHlch(29.54, 37.68, 281.97°)
OKLaboklab(39.48% -0.0224 -0.1056)
OKLCHoklch(39.48% 0.108 258)
XYZxyz(6.4642, 6.0490, 20.9015)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D457F #7F571D
analogous
#1D767F #1D457F #261D7F
triadic
#1D457F #7F1D45 #457F1D
tetradic
#1D457F #7F1D76 #7F571D #1D7F26
square
#1D457F #7F1D76 #7F571D #1D7F26
split-complementary
#1D457F #7F261D #767F1D
monochromatic
#060F1B #122A4D #1D457F #2860B1 #427ED4

Accessibility & contrast

On white

9.50
#1D457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D457F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D457F#FFFFFF#000000##FFFFFF
##1D457F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A81
Deuteranopia (green-blind)
#15417E
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d457f;
/* rgb */ color: rgb(29, 69, 127);
/* oklch */ color: oklch(39.5% 0.108 258.0);
Tailwind
colors: {
  custom: {
    50: '#6878a4',
    500: '#1d457f',
    950: '#000000',
  },
}
SCSS
$custom: #1d457f;
$custom-light: #6878a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d457f",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 215.51,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.10791,
    "h": 258
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#1D457F
secondary
#B28645
accent
#A342E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D457F

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

Preview Lab → · Contrast checker → · Palette generator →

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