#1D1876#1D1876

#1D1876 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.151 H 274.3°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#1D1876
RGBrgb(29, 24, 118)
HSLhsl(243, 66%, 28%)
HSVhsv(243, 80%, 46%)
CMYKcmyk(75.4%, 79.7%, 0%, 53.7%)
CIE-LABlab(16.61, 34.82, -52.20)
CIE-LCHlch(16.61, 62.75, 303.71°)
OKLaboklab(29.62% 0.0114 -0.151)
OKLCHoklch(29.62% 0.151 274.3)
XYZxyz(4.1023, 2.2221, 17.3487)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1876 #717618
analogous
#184276 #1D1876 #4C1876
triadic
#1D1876 #761D18 #18761D
tetradic
#1D1876 #761842 #717618 #18764C
square
#1D1876 #761842 #717618 #18764C
split-complementary
#1D1876 #764C18 #427618
monochromatic
#060519 #110E43 #1D1876 #2922A9 #3C33D5

Accessibility & contrast

On white

14.54
#1D1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1876
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1876#FFFFFF#000000##FFFFFF
##1D18761.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1876;
/* rgb */ color: rgb(29, 24, 118);
/* oklch */ color: oklch(29.6% 0.151 274.3);
Tailwind
colors: {
  custom: {
    50: '#69579f',
    500: '#1d1876',
    950: '#000000',
  },
}
SCSS
$custom: #1d1876;
$custom-light: #69579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1876",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 243.191,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29622,
    "c": 0.15141,
    "h": 274.3
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#1D1876
secondary
#A5AB3F
accent
#E93FE0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1876

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

Preview Lab → · Contrast checker → · Palette generator →

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