#1D165A#1D165A

#1D165A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.116 H 279.4°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1D165A
RGBrgb(29, 22, 90)
HSLhsl(246, 61%, 22%)
HSVhsv(246, 76%, 35%)
CMYKcmyk(67.8%, 75.6%, 0%, 64.7%)
CIE-LABlab(13.06, 26.11, -39.63)
CIE-LCHlch(13.06, 47.46, 303.39°)
OKLaboklab(26.17% 0.0189 -0.1143)
OKLCHoklch(26.17% 0.116 279.4)
XYZxyz(2.6385, 1.5730, 9.8355)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D165A #535A16
analogous
#16315A #1D165A #3F165A
triadic
#1D165A #5A1D16 #165A1D
tetradic
#1D165A #5A1631 #535A16 #165A3F
square
#1D165A #5A1631 #535A16 #165A3F
split-complementary
#1D165A #5A3F16 #315A16
monochromatic
#080619 #0D0A29 #1D165A #2D228B #3D2EBC

Accessibility & contrast

On white

15.97
#1D165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D165A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D165A#FFFFFF#000000##FFFFFF
##1D165A1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d165a;
/* rgb */ color: rgb(29, 22, 90);
/* oklch */ color: oklch(26.2% 0.116 279.4);
Tailwind
colors: {
  custom: {
    50: '#625489',
    500: '#1d165a',
    950: '#000000',
  },
}
SCSS
$custom: #1d165a;
$custom-light: #625489;
$custom-dark: #000000;
JSON
{
  "hex": "#1d165a",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 246.176,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26175,
    "c": 0.11585,
    "h": 279.4
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#1D165A
secondary
#88913B
accent
#E444D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D165A

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

Preview Lab → · Contrast checker → · Palette generator →

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