#1D378C#1D378C

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

Color values

HEX#1D378C
RGBrgb(29, 55, 140)
HSLhsl(226, 66%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(79.3%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.41, 22.77, -50.00)
CIE-LCHlch(26.41, 54.94, 294.48°)
OKLaboklab(37.41% -0.0093 -0.1445)
OKLCHoklch(37.41% 0.145 266.3)
XYZxyz(6.6048, 4.8863, 25.4009)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D378C #8C721D
analogous
#1D6E8C #1D378C #3A1D8C
triadic
#1D378C #8C1D37 #378C1D
tetradic
#1D378C #8C1D6E #8C721D #1D8C3A
square
#1D378C #8C1D6E #8C721D #1D8C3A
split-complementary
#1D378C #8C3A1D #6E8C1D
monochromatic
#080F27 #122359 #1D378C #284BBF #4A6CD9

Accessibility & contrast

On white

10.62
#1D378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D378C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D378C#FFFFFF#000000##FFFFFF
##1D378C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d378c;
/* rgb */ color: rgb(29, 55, 140);
/* oklch */ color: oklch(37.4% 0.145 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6dae',
    500: '#1d378c',
    950: '#000000',
  },
}
SCSS
$custom: #1d378c;
$custom-light: #6c6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d378c",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 225.946,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.14476,
    "h": 266.3
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#1D378C
secondary
#BCA149
accent
#C13FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1D378C

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

Preview Lab → · Contrast checker → · Palette generator →

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