#1D378F#1D378F

#1D378F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.149 H 266.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1D378F
RGBrgb(29, 55, 143)
HSLhsl(226, 66%, 34%)
HSVhsv(226, 80%, 56%)
CMYKcmyk(79.7%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.67, 23.96, -51.44)
CIE-LCHlch(26.67, 56.74, 294.97°)
OKLaboklab(37.69% -0.0093 -0.1487)
OKLCHoklch(37.69% 0.149 266.4)
XYZxyz(6.8291, 4.9760, 26.5818)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D378F #8F751D
analogous
#1D708F #1D378F #3C1D8F
triadic
#1D378F #8F1D37 #378F1D
tetradic
#1D378F #8F1D70 #8F751D #1D8F3C
square
#1D378F #8F1D70 #8F751D #1D8F3C
split-complementary
#1D378F #8F3C1D #708F1D
monochromatic
#081029 #13235C #1D378F #274BC2 #4C6CDB

Accessibility & contrast

On white

10.52
#1D378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1D378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D378F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D378F#FFFFFF#000000##FFFFFF
##1D378F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d378f;
/* rgb */ color: rgb(29, 55, 143);
/* oklch */ color: oklch(37.7% 0.149 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d6db1',
    500: '#1d378f',
    950: '#000000',
  },
}
SCSS
$custom: #1d378f;
$custom-light: #6d6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d378f",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 226.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.14896,
    "h": 266.4
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#1D378F
secondary
#BDA34B
accent
#C23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D378F

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

Preview Lab → · Contrast checker → · Palette generator →

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