#1D1176#1D1176

#1D1176 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.158 H 275.2°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#1D1176
RGBrgb(29, 17, 118)
HSLhsl(247, 75%, 26%)
HSVhsv(247, 86%, 46%)
CMYKcmyk(75.4%, 85.6%, 0%, 53.7%)
CIE-LABlab(15.33, 38.54, -54.33)
CIE-LCHlch(15.33, 66.61, 305.35°)
OKLaboklab(28.73% 0.0144 -0.157)
OKLCHoklch(28.73% 0.158 275.2)
XYZxyz(3.9761, 1.9697, 17.3067)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1176 #6A7611
analogous
#113876 #1D1176 #501176
triadic
#1D1176 #761D11 #11761D
tetradic
#1D1176 #761138 #6A7611 #117650
square
#1D1176 #761138 #6A7611 #117650
split-complementary
#1D1176 #765011 #387611
monochromatic
#07041B #100941 #1D1176 #2A19AB #3922DF

Accessibility & contrast

On white

15.06
#1D1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D1176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1176
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1176#FFFFFF#000000##FFFFFF
##1D11761.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1176;
/* rgb */ color: rgb(29, 17, 118);
/* oklch */ color: oklch(28.7% 0.158 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a539f',
    500: '#1d1176',
    950: '#000000',
  },
}
SCSS
$custom: #1d1176;
$custom-light: #6a539f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1176",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 247.129,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28727,
    "c": 0.15771,
    "h": 275.2
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#1D1176
secondary
#9FAD36
accent
#F136DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020F
muted
#7A787E

Preview Lab

Preview with #1D1176

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

Preview Lab → · Contrast checker → · Palette generator →

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