#1D437F#1D437F

#1D437F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.110 H 259.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1D437F
RGBrgb(29, 67, 127)
HSLhsl(217, 63%, 31%)
HSVhsv(217, 77%, 50%)
CMYKcmyk(77.2%, 47.2%, 0%, 50.2%)
CIE-LABlab(28.92, 9.19, -37.85)
CIE-LCHlch(28.92, 38.95, 283.65°)
OKLaboklab(39.01% -0.0205 -0.1085)
OKLCHoklch(39.01% 0.11 259.3)
XYZxyz(6.3432, 5.8071, 20.8611)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D437F #7F591D
analogous
#1D747F #1D437F #281D7F
triadic
#1D437F #7F1D43 #437F1D
tetradic
#1D437F #7F1D74 #7F591D #1D7F28
square
#1D437F #7F1D74 #7F591D #1D7F28
split-complementary
#1D437F #7F281D #747F1D
monochromatic
#060E1B #12294D #1D437F #285DB1 #427BD4

Accessibility & contrast

On white

9.72
#1D437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1D437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D437F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D437F#FFFFFF#000000##FFFFFF
##1D437F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#0E407E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d437f;
/* rgb */ color: rgb(29, 67, 127);
/* oklch */ color: oklch(39.0% 0.110 259.3);
Tailwind
colors: {
  custom: {
    50: '#6876a4',
    500: '#1d437f',
    950: '#000000',
  },
}
SCSS
$custom: #1d437f;
$custom-light: #6876a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d437f",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 216.735,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.11042,
    "h": 259.3
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#1D437F
secondary
#B28845
accent
#A642E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D437F

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

Preview Lab → · Contrast checker → · Palette generator →

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