#1D116E#1D116E

#1D116E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.148 H 276.5°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#1D116E
RGBrgb(29, 17, 110)
HSLhsl(248, 73%, 25%)
HSVhsv(248, 85%, 43%)
CMYKcmyk(73.6%, 84.5%, 0%, 56.9%)
CIE-LABlab(14.33, 35.94, -50.79)
CIE-LCHlch(14.33, 62.22, 305.28°)
OKLaboklab(27.75% 0.0169 -0.1468)
OKLCHoklch(27.75% 0.148 276.5)
XYZxyz(3.5207, 1.7876, 14.9083)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D116E #626E11
analogous
#11346E #1D116E #4C116E
triadic
#1D116E #6E1D11 #116E1D
tetradic
#1D116E #6E1134 #626E11 #116E4C
square
#1D116E #6E1134 #626E11 #116E4C
split-complementary
#1D116E #6E4C11 #346E11
monochromatic
#07041B #0F0939 #1D116E #2B19A3 #3921D8

Accessibility & contrast

On white

15.47
#1D116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D116E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D116E#FFFFFF#000000##FFFFFF
##1D116E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d116e;
/* rgb */ color: rgb(29, 17, 110);
/* oklch */ color: oklch(27.7% 0.148 276.5);
Tailwind
colors: {
  custom: {
    50: '#685299',
    500: '#1d116e',
    950: '#000000',
  },
}
SCSS
$custom: #1d116e;
$custom-light: #685299;
$custom-dark: #000000;
JSON
{
  "hex": "#1d116e",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 247.742,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27747,
    "c": 0.14775,
    "h": 276.5
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D116E

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

Preview Lab → · Contrast checker → · Palette generator →

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