#1D1164#1D1164

#1D1164 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.135 H 278.5°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#1D1164
RGBrgb(29, 17, 100)
HSLhsl(249, 71%, 23%)
HSVhsv(249, 83%, 39%)
CMYKcmyk(71%, 83%, 0%, 60.8%)
CIE-LABlab(13.12, 32.61, -46.21)
CIE-LCHlch(13.12, 56.56, 305.21°)
OKLaboklab(26.55% 0.0199 -0.1335)
OKLCHoklch(26.55% 0.135 278.5)
XYZxyz(3.0067, 1.5820, 12.2010)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1164 #586411
analogous
#112E64 #1D1164 #461164
triadic
#1D1164 #641D11 #11641D
tetradic
#1D1164 #64112E #586411 #116446
square
#1D1164 #64112E #586411 #116446
split-complementary
#1D1164 #644611 #2E6411
monochromatic
#08041A #0E0830 #1D1164 #2C1A98 #3B23CD

Accessibility & contrast

On white

15.95
#1D1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1164
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1164#FFFFFF#000000##FFFFFF
##1D11641.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001E63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d1164;
/* rgb */ color: rgb(29, 17, 100);
/* oklch */ color: oklch(26.5% 0.135 278.5);
Tailwind
colors: {
  custom: {
    50: '#655191',
    500: '#1d1164',
    950: '#000000',
  },
}
SCSS
$custom: #1d1164;
$custom-light: #655191;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1164",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 248.675,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26549,
    "c": 0.13496,
    "h": 278.5
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1164

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

Preview Lab → · Contrast checker → · Palette generator →

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