#1D2379#1D2379

#1D2379 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.143 H 271.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1D2379
RGBrgb(29, 35, 121)
HSLhsl(236, 61%, 29%)
HSVhsv(236, 76%, 47%)
CMYKcmyk(76%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.41, 29.04, -49.52)
CIE-LCHlch(19.41, 57.41, 300.39°)
OKLaboklab(31.71% 0.0047 -0.1432)
OKLCHoklch(31.71% 0.143 271.9)
XYZxyz(4.5578, 2.8433, 18.3941)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2379 #79731D
analogous
#1D5179 #1D2379 #451D79
triadic
#1D2379 #791D23 #23791D
tetradic
#1D2379 #791D51 #79731D #1D7945
square
#1D2379 #791D51 #79731D #1D7945
split-complementary
#1D2379 #79451D #51791D
monochromatic
#060719 #111548 #1D2379 #2931AA #3F49D1

Accessibility & contrast

On white

13.39
#1D2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D2379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2379
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2379#FFFFFF#000000##FFFFFF
##1D23791.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2379;
/* rgb */ color: rgb(29, 35, 121);
/* oklch */ color: oklch(31.7% 0.143 271.9);
Tailwind
colors: {
  custom: {
    50: '#695ea1',
    500: '#1d2379',
    950: '#000000',
  },
}
SCSS
$custom: #1d2379;
$custom-light: #695ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2379",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 236.087,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31714,
    "c": 0.1433,
    "h": 271.9
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#1D2379
secondary
#ADA645
accent
#DA43E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D2379

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

Preview Lab → · Contrast checker → · Palette generator →

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