#1D378E#1D378E

#1D378E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.148 H 266.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#1D378E
RGBrgb(29, 55, 142)
HSLhsl(226, 66%, 34%)
HSVhsv(226, 80%, 56%)
CMYKcmyk(79.6%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.58, 23.56, -50.96)
CIE-LCHlch(26.58, 56.14, 294.81°)
OKLaboklab(37.59% -0.0093 -0.1473)
OKLCHoklch(37.59% 0.148 266.4)
XYZxyz(6.7537, 4.9458, 26.1846)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D378E #8E741D
analogous
#1D6F8E #1D378E #3B1D8E
triadic
#1D378E #8E1D37 #378E1D
tetradic
#1D378E #8E1D6F #8E741D #1D8E3B
square
#1D378E #8E1D6F #8E741D #1D8E3B
split-complementary
#1D378E #8E3B1D #6F8E1D
monochromatic
#081028 #13235B #1D378E #274BC1 #4B6CDA

Accessibility & contrast

On white

10.56
#1D378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1D378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D378E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D378E#FFFFFF#000000##FFFFFF
##1D378E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d378e;
/* rgb */ color: rgb(29, 55, 142);
/* oklch */ color: oklch(37.6% 0.148 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c6db0',
    500: '#1d378e',
    950: '#000000',
  },
}
SCSS
$custom: #1d378e;
$custom-light: #6c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d378e",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 226.195,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.14756,
    "h": 266.4
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#1D378E
secondary
#BDA24A
accent
#C23FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D378E

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

Preview Lab → · Contrast checker → · Palette generator →

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