#1D116C#1D116C

#1D116C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.145 H 276.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#1D116C
RGBrgb(29, 17, 108)
HSLhsl(248, 73%, 25%)
HSVhsv(248, 84%, 42%)
CMYKcmyk(73.1%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.08, 35.28, -49.89)
CIE-LCHlch(14.08, 61.10, 305.27°)
OKLaboklab(27.51% 0.0175 -0.1442)
OKLCHoklch(27.51% 0.145 276.9)
XYZxyz(3.4130, 1.7445, 14.3413)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D116C #606C11
analogous
#11336C #1D116C #4B116C
triadic
#1D116C #6C1D11 #116C1D
tetradic
#1D116C #6C1133 #606C11 #116C4B
square
#1D116C #6C1133 #606C11 #116C4B
split-complementary
#1D116C #6C4B11 #336C11
monochromatic
#07041A #0F0937 #1D116C #2B19A1 #3922D6

Accessibility & contrast

On white

15.57
#1D116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D116C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D116C#FFFFFF#000000##FFFFFF
##1D116C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276F
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d116c;
/* rgb */ color: rgb(29, 17, 108);
/* oklch */ color: oklch(27.5% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#675297',
    500: '#1d116c',
    950: '#000000',
  },
}
SCSS
$custom: #1d116c;
$custom-light: #675297;
$custom-dark: #000000;
JSON
{
  "hex": "#1d116c",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 247.912,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27505,
    "c": 0.14522,
    "h": 276.9
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#1D116C
secondary
#95A435
accent
#EF38D7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D116C

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

Preview Lab → · Contrast checker → · Palette generator →

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