#1D377F#1D377F

#1D377F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.126 H 265.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1D377F
RGBrgb(29, 55, 127)
HSLhsl(224, 63%, 31%)
HSVhsv(224, 77%, 50%)
CMYKcmyk(77.2%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.34, 17.56, -43.63)
CIE-LCHlch(25.34, 47.03, 291.92°)
OKLaboklab(36.27% -0.01 -0.1257)
OKLCHoklch(36.27% 0.126 265.5)
XYZxyz(5.7023, 4.5253, 20.6475)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D377F #7F651D
analogous
#1D687F #1D377F #341D7F
triadic
#1D377F #7F1D37 #377F1D
tetradic
#1D377F #7F1D68 #7F651D #1D7F34
square
#1D377F #7F1D68 #7F651D #1D7F34
split-complementary
#1D377F #7F341D #687F1D
monochromatic
#060C1B #12214D #1D377F #284DB1 #4269D4

Accessibility & contrast

On white

11.02
#1D377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D377F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D377F#FFFFFF#000000##FFFFFF
##1D377F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d377f;
/* rgb */ color: rgb(29, 55, 127);
/* oklch */ color: oklch(36.3% 0.126 265.5);
Tailwind
colors: {
  custom: {
    50: '#686da5',
    500: '#1d377f',
    950: '#000000',
  },
}
SCSS
$custom: #1d377f;
$custom-light: #686da5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d377f",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 224.082,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.12614,
    "h": 265.5
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#1D377F
secondary
#B29545
accent
#BA42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D377F

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

Preview Lab → · Contrast checker → · Palette generator →

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