#1D378D#1D378D

#1D378D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.146 H 266.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#1D378D
RGBrgb(29, 55, 141)
HSLhsl(226, 66%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(79.4%, 61%, 0%, 44.7%)
CIE-LABlab(26.49, 23.17, -50.48)
CIE-LCHlch(26.49, 55.54, 294.65°)
OKLaboklab(37.5% -0.0093 -0.1459)
OKLCHoklch(37.5% 0.146 266.3)
XYZxyz(6.6789, 4.9159, 25.7910)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D378D #8D731D
analogous
#1D6F8D #1D378D #3B1D8D
triadic
#1D378D #8D1D37 #378D1D
tetradic
#1D378D #8D1D6F #8D731D #1D8D3B
square
#1D378D #8D1D6F #8D731D #1D8D3B
split-complementary
#1D378D #8D3B1D #6F8D1D
monochromatic
#080F27 #13235A #1D378D #274BC0 #4B6CDA

Accessibility & contrast

On white

10.59
#1D378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D378D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D378D#FFFFFF#000000##FFFFFF
##1D378D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d378d;
/* rgb */ color: rgb(29, 55, 141);
/* oklch */ color: oklch(37.5% 0.146 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6daf',
    500: '#1d378d',
    950: '#000000',
  },
}
SCSS
$custom: #1d378d;
$custom-light: #6c6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d378d",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 226.071,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37504,
    "c": 0.14616,
    "h": 266.3
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#1D378D
secondary
#BCA24A
accent
#C13FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D378D

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

Preview Lab → · Contrast checker → · Palette generator →

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