#1D165D#1D165D

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

Color values

HEX#1D165D
RGBrgb(29, 22, 93)
HSLhsl(246, 62%, 23%)
HSVhsv(246, 76%, 36%)
CMYKcmyk(68.8%, 76.3%, 0%, 63.5%)
CIE-LABlab(13.38, 27.20, -41.12)
CIE-LCHlch(13.38, 49.30, 303.48°)
OKLaboklab(26.5% 0.0183 -0.1187)
OKLCHoklch(26.5% 0.12 278.8)
XYZxyz(2.7688, 1.6251, 10.5216)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D165D #565D16
analogous
#16335D #1D165D #40165D
triadic
#1D165D #5D1D16 #165D1D
tetradic
#1D165D #5D1633 #565D16 #165D40
square
#1D165D #5D1633 #565D16 #165D40
split-complementary
#1D165D #5D4016 #335D16
monochromatic
#080619 #0E0A2C #1D165D #2C228E #3C2DC0

Accessibility & contrast

On white

15.85
#1D165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D165D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D165D#FFFFFF#000000##FFFFFF
##1D165D1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d165d;
/* rgb */ color: rgb(29, 22, 93);
/* oklch */ color: oklch(26.5% 0.120 278.8);
Tailwind
colors: {
  custom: {
    50: '#63548c',
    500: '#1d165d',
    950: '#000000',
  },
}
SCSS
$custom: #1d165d;
$custom-light: #63548c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d165d",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 245.915,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26498,
    "c": 0.12007,
    "h": 278.8
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#1D165D
secondary
#8B943B
accent
#E543D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1D165D

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

Preview Lab → · Contrast checker → · Palette generator →

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