#1D378B#1D378B

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

Color values

HEX#1D378B
RGBrgb(29, 55, 139)
HSLhsl(226, 65%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(79.1%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.32, 22.37, -49.52)
CIE-LCHlch(26.32, 54.34, 294.31°)
OKLaboklab(37.32% -0.0094 -0.143)
OKLCHoklch(37.32% 0.143 266.3)
XYZxyz(6.5314, 4.8569, 25.0143)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D378B #8B711D
analogous
#1D6E8B #1D378B #3A1D8B
triadic
#1D378B #8B1D37 #378B1D
tetradic
#1D378B #8B1D6E #8B711D #1D8B3A
square
#1D378B #8B1D6E #8B711D #1D8B3A
split-complementary
#1D378B #8B3A1D #6E8B1D
monochromatic
#080F26 #122358 #1D378B #284BBE #496BD9

Accessibility & contrast

On white

10.65
#1D378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1D378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D378B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D378B#FFFFFF#000000##FFFFFF
##1D378B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d378b;
/* rgb */ color: rgb(29, 55, 139);
/* oklch */ color: oklch(37.3% 0.143 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6dae',
    500: '#1d378b',
    950: '#000000',
  },
}
SCSS
$custom: #1d378b;
$custom-light: #6c6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d378b",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 225.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37323,
    "c": 0.14335,
    "h": 266.3
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#1D378B
secondary
#BBA049
accent
#C03FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D378B

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

Preview Lab → · Contrast checker → · Palette generator →

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