#1D116D#1D116D

#1D116D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.146 H 276.7°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#1D116D
RGBrgb(29, 17, 109)
HSLhsl(248, 73%, 25%)
HSVhsv(248, 84%, 43%)
CMYKcmyk(73.4%, 84.4%, 0%, 57.3%)
CIE-LABlab(14.21, 35.61, -50.34)
CIE-LCHlch(14.21, 61.66, 305.28°)
OKLaboklab(27.63% 0.0172 -0.1455)
OKLCHoklch(27.63% 0.146 276.7)
XYZxyz(3.4666, 1.7659, 14.6232)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D116D #616D11
analogous
#11336D #1D116D #4B116D
triadic
#1D116D #6D1D11 #116D1D
tetradic
#1D116D #6D1133 #616D11 #116D4B
square
#1D116D #6D1133 #616D11 #116D4B
split-complementary
#1D116D #6D4B11 #336D11
monochromatic
#07041A #0F0938 #1D116D #2B19A2 #3922D7

Accessibility & contrast

On white

15.52
#1D116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1D116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D116D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D116D#FFFFFF#000000##FFFFFF
##1D116D1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d116d;
/* rgb */ color: rgb(29, 17, 109);
/* oklch */ color: oklch(27.6% 0.146 276.7);
Tailwind
colors: {
  custom: {
    50: '#675298',
    500: '#1d116d',
    950: '#000000',
  },
}
SCSS
$custom: #1d116d;
$custom-light: #675298;
$custom-dark: #000000;
JSON
{
  "hex": "#1d116d",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 247.826,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27626,
    "c": 0.14649,
    "h": 276.7
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#1D116D
secondary
#96A535
accent
#F038D8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D116D

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

Preview Lab → · Contrast checker → · Palette generator →

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