#1D457E#1D457E

#1D457E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.106 H 257.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1D457E
RGBrgb(29, 69, 126)
HSLhsl(215, 63%, 30%)
HSVhsv(215, 77%, 49%)
CMYKcmyk(77%, 45.2%, 0%, 50.6%)
CIE-LABlab(29.47, 7.41, -36.34)
CIE-LCHlch(29.47, 37.09, 281.53°)
OKLaboklab(39.41% -0.0226 -0.104)
OKLCHoklch(39.41% 0.106 257.7)
XYZxyz(6.3993, 6.0231, 20.5599)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D457E #7E561D
analogous
#1D757E #1D457E #261D7E
triadic
#1D457E #7E1D45 #457E1D
tetradic
#1D457E #7E1D75 #7E561D #1D7E26
square
#1D457E #7E1D75 #7E561D #1D7E26
split-complementary
#1D457E #7E261D #757E1D
monochromatic
#060F1B #122A4C #1D457E #2860B0 #427ED3

Accessibility & contrast

On white

9.52
#1D457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1D457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D457E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D457E#FFFFFF#000000##FFFFFF
##1D457E1.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d457e;
/* rgb */ color: rgb(29, 69, 126);
/* oklch */ color: oklch(39.4% 0.106 257.7);
Tailwind
colors: {
  custom: {
    50: '#6878a4',
    500: '#1d457e',
    950: '#000000',
  },
}
SCSS
$custom: #1d457e;
$custom-light: #6878a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d457e",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 215.258,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.10646,
    "h": 257.7
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#1D457E
secondary
#B18545
accent
#A242E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D457E

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

Preview Lab → · Contrast checker → · Palette generator →

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