#1D377E#1D377E

#1D377E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.125 H 265.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1D377E
RGBrgb(29, 55, 126)
HSLhsl(224, 63%, 30%)
HSVhsv(224, 77%, 49%)
CMYKcmyk(77%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.26, 17.16, -43.13)
CIE-LCHlch(25.26, 46.42, 291.69°)
OKLaboklab(36.19% -0.0101 -0.1243)
OKLCHoklch(36.19% 0.125 265.4)
XYZxyz(5.6375, 4.4993, 20.3060)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D377E #7E641D
analogous
#1D677E #1D377E #341D7E
triadic
#1D377E #7E1D37 #377E1D
tetradic
#1D377E #7E1D67 #7E641D #1D7E34
square
#1D377E #7E1D67 #7E641D #1D7E34
split-complementary
#1D377E #7E341D #677E1D
monochromatic
#060C1B #12214C #1D377E #284DB0 #4269D3

Accessibility & contrast

On white

11.05
#1D377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D377E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D377E#FFFFFF#000000##FFFFFF
##1D377E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d377e;
/* rgb */ color: rgb(29, 55, 126);
/* oklch */ color: oklch(36.2% 0.125 265.4);
Tailwind
colors: {
  custom: {
    50: '#686da4',
    500: '#1d377e',
    950: '#000000',
  },
}
SCSS
$custom: #1d377e;
$custom-light: #686da4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d377e",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 223.918,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36188,
    "c": 0.12468,
    "h": 265.4
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#1D377E
secondary
#B19445
accent
#BA42E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1D377E

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

Preview Lab → · Contrast checker → · Palette generator →

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