#1D379C#1D379C

#1D379C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.167 H 266.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1D379C
RGBrgb(29, 55, 156)
HSLhsl(228, 69%, 36%)
HSVhsv(228, 81%, 61%)
CMYKcmyk(81.4%, 64.7%, 0%, 38.8%)
CIE-LABlab(27.83, 29.04, -57.51)
CIE-LCHlch(27.83, 64.42, 296.79°)
OKLaboklab(38.9% -0.0093 -0.1665)
OKLCHoklch(38.9% 0.167 266.8)
XYZxyz(7.8715, 5.3930, 32.0721)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D379C #9C821D
analogous
#1D779C #1D379C #431D9C
triadic
#1D379C #9C1D37 #379C1D
tetradic
#1D379C #9C1D77 #9C821D #1D9C43
square
#1D379C #9C1D77 #9C821D #1D9C43
split-complementary
#1D379C #9C431D #779C1D
monochromatic
#0A1335 #132568 #1D379C #2749D0 #5471DF

Accessibility & contrast

On white

10.10
#1D379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D379C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D379C#FFFFFF#000000##FFFFFF
##1D379C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d379c;
/* rgb */ color: rgb(29, 55, 156);
/* oklch */ color: oklch(38.9% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#706dba',
    500: '#1d379c',
    950: '#000000',
  },
}
SCSS
$custom: #1d379c;
$custom-light: #706dba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d379c",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 227.717,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.16672,
    "h": 266.8
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#1D379C
secondary
#C2AB52
accent
#C83CEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D379C

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

Preview Lab → · Contrast checker → · Palette generator →

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