#1D2378#1D2378

#1D2378 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.142 H 272.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1D2378
RGBrgb(29, 35, 120)
HSLhsl(236, 61%, 29%)
HSVhsv(236, 76%, 47%)
CMYKcmyk(75.8%, 70.8%, 0%, 52.9%)
CIE-LABlab(19.30, 28.67, -49.05)
CIE-LCHlch(19.30, 56.81, 300.31°)
OKLaboklab(31.61% 0.0049 -0.1418)
OKLCHoklch(31.61% 0.142 272)
XYZxyz(4.4967, 2.8189, 18.0728)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2378 #78721D
analogous
#1D5178 #1D2378 #451D78
triadic
#1D2378 #781D23 #23781D
tetradic
#1D2378 #781D51 #78721D #1D7845
square
#1D2378 #781D51 #78721D #1D7845
split-complementary
#1D2378 #78451D #51781D
monochromatic
#060719 #111547 #1D2378 #2931A9 #3F48D1

Accessibility & contrast

On white

13.43
#1D2378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2378
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2378#FFFFFF#000000##FFFFFF
##1D23781.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2378;
/* rgb */ color: rgb(29, 35, 120);
/* oklch */ color: oklch(31.6% 0.142 272.0);
Tailwind
colors: {
  custom: {
    50: '#685ea0',
    500: '#1d2378',
    950: '#000000',
  },
}
SCSS
$custom: #1d2378;
$custom-light: #685ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2378",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 236.044,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.14192,
    "h": 272
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#1D2378
secondary
#ACA545
accent
#DA44E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1D2378

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

Preview Lab → · Contrast checker → · Palette generator →

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