#1D1976#1D1976

#1D1976 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.150 H 274.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#1D1976
RGBrgb(29, 25, 118)
HSLhsl(243, 65%, 28%)
HSVhsv(243, 79%, 46%)
CMYKcmyk(75.4%, 78.8%, 0%, 53.7%)
CIE-LABlab(16.82, 34.24, -51.86)
CIE-LCHlch(16.82, 62.14, 303.43°)
OKLaboklab(29.77% 0.0109 -0.15)
OKLCHoklch(29.77% 0.15 274.2)
XYZxyz(4.1233, 2.2641, 17.3557)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1976 #727619
analogous
#194376 #1D1976 #4B1976
triadic
#1D1976 #761D19 #19761D
tetradic
#1D1976 #761943 #727619 #19764B
square
#1D1976 #761943 #727619 #19764B
split-complementary
#1D1976 #764B19 #437619
monochromatic
#060519 #110E43 #1D1976 #2924A8 #3C35D4

Accessibility & contrast

On white

14.45
#1D1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1D1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1976
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1976#FFFFFF#000000##FFFFFF
##1D19761.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1976;
/* rgb */ color: rgb(29, 25, 118);
/* oklch */ color: oklch(29.8% 0.150 274.2);
Tailwind
colors: {
  custom: {
    50: '#69579f',
    500: '#1d1976',
    950: '#000000',
  },
}
SCSS
$custom: #1d1976;
$custom-light: #69579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1976",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 242.581,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29766,
    "c": 0.15041,
    "h": 274.2
  },
  "luminance": 0.02264
}

Semantic roles & 50–950 ramp

primary
#1D1976
secondary
#A6AB40
accent
#E840E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1976

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

Preview Lab → · Contrast checker → · Palette generator →

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