#1D1161#1D1161

#1D1161 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.131 H 279.1°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#1D1161
RGBrgb(29, 17, 97)
HSLhsl(249, 70%, 22%)
HSVhsv(249, 82%, 38%)
CMYKcmyk(70.1%, 82.5%, 0%, 62%)
CIE-LABlab(12.77, 31.60, -44.81)
CIE-LCHlch(12.77, 54.83, 305.20°)
OKLaboklab(26.2% 0.0208 -0.1294)
OKLCHoklch(26.2% 0.131 279.1)
XYZxyz(2.8641, 1.5249, 11.4504)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1161 #556111
analogous
#112D61 #1D1161 #451161
triadic
#1D1161 #611D11 #11611D
tetradic
#1D1161 #61112D #556111 #116145
square
#1D1161 #61112D #556111 #116145
split-complementary
#1D1161 #614511 #2D6111
monochromatic
#08051A #0D082D #1D1161 #2D1A95 #3C23C9

Accessibility & contrast

On white

16.09
#1D1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1D1161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1161
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1161#FFFFFF#000000##FFFFFF
##1D11611.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001E60
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d1161;
/* rgb */ color: rgb(29, 17, 97);
/* oklch */ color: oklch(26.2% 0.131 279.1);
Tailwind
colors: {
  custom: {
    50: '#64518f',
    500: '#1d1161',
    950: '#000000',
  },
}
SCSS
$custom: #1d1161;
$custom-light: #64518f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1161",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 249,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26197,
    "c": 0.13104,
    "h": 279.1
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#1D1161
secondary
#8A9934
accent
#ED3BD2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D1161

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

Preview Lab → · Contrast checker → · Palette generator →

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