#1D377D#1D377D

#1D377D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.123 H 265.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#1D377D
RGBrgb(29, 55, 125)
HSLhsl(224, 62%, 30%)
HSVhsv(224, 77%, 49%)
CMYKcmyk(76.8%, 56%, 0%, 51%)
CIE-LABlab(25.18, 16.75, -42.63)
CIE-LCHlch(25.18, 45.80, 291.45°)
OKLaboklab(36.1% -0.0102 -0.1228)
OKLCHoklch(36.1% 0.123 265.3)
XYZxyz(5.5733, 4.4737, 19.9678)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D377D #7D631D
analogous
#1D677D #1D377D #331D7D
triadic
#1D377D #7D1D37 #377D1D
tetradic
#1D377D #7D1D67 #7D631D #1D7D33
square
#1D377D #7D1D67 #7D631D #1D7D33
split-complementary
#1D377D #7D331D #677D1D
monochromatic
#060B1A #11214B #1D377D #294DAF #4169D3

Accessibility & contrast

On white

11.08
#1D377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D377D
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D377D#FFFFFF#000000##FFFFFF
##1D377D1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d377d;
/* rgb */ color: rgb(29, 55, 125);
/* oklch */ color: oklch(36.1% 0.123 265.3);
Tailwind
colors: {
  custom: {
    50: '#686da3',
    500: '#1d377d',
    950: '#000000',
  },
}
SCSS
$custom: #1d377d;
$custom-light: #686da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d377d",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 223.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36104,
    "c": 0.12321,
    "h": 265.3
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#1D377D
secondary
#B19345
accent
#B942E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D377D

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

Preview Lab → · Contrast checker → · Palette generator →

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