#1D1165#1D1165

#1D1165 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.136 H 278.3°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1D1165
RGBrgb(29, 17, 101)
HSLhsl(249, 71%, 23%)
HSVhsv(249, 83%, 40%)
CMYKcmyk(71.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.24, 32.95, -46.68)
CIE-LCHlch(13.24, 57.14, 305.22°)
OKLaboklab(26.67% 0.0196 -0.1348)
OKLCHoklch(26.67% 0.136 278.3)
XYZxyz(3.0553, 1.6014, 12.4575)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1165 #596511
analogous
#112F65 #1D1165 #471165
triadic
#1D1165 #651D11 #11651D
tetradic
#1D1165 #65112F #596511 #116547
square
#1D1165 #65112F #596511 #116547
split-complementary
#1D1165 #654711 #2F6511
monochromatic
#08041A #0E0831 #1D1165 #2C1A99 #3B23CE

Accessibility & contrast

On white

15.90
#1D1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1D1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1165
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1165#FFFFFF#000000##FFFFFF
##1D11651.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d1165;
/* rgb */ color: rgb(29, 17, 101);
/* oklch */ color: oklch(26.7% 0.136 278.3);
Tailwind
colors: {
  custom: {
    50: '#655192',
    500: '#1d1165',
    950: '#000000',
  },
}
SCSS
$custom: #1d1165;
$custom-light: #655192;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1165",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 248.571,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26667,
    "c": 0.13626,
    "h": 278.3
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#1D1165
secondary
#8E9D35
accent
#EE3AD4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1165

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

Preview Lab → · Contrast checker → · Palette generator →

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