#1D156A#1D156A

#1D156A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.139 H 276.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#1D156A
RGBrgb(29, 21, 106)
HSLhsl(246, 67%, 25%)
HSVhsv(246, 80%, 42%)
CMYKcmyk(72.6%, 80.2%, 0%, 58.4%)
CIE-LABlab(14.61, 32.40, -47.71)
CIE-LCHlch(14.61, 57.67, 304.18°)
OKLaboklab(27.8% 0.0159 -0.1379)
OKLCHoklch(27.8% 0.139 276.6)
XYZxyz(3.3755, 1.8378, 13.8097)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D156A #626A15
analogous
#15386A #1D156A #48156A
triadic
#1D156A #6A1D15 #156A1D
tetradic
#1D156A #6A1538 #626A15 #156A48
square
#1D156A #6A1538 #626A15 #156A48
split-complementary
#1D156A #6A4815 #386A15
monochromatic
#07051A #0F0B37 #1D156A #2B1F9D #3929D0

Accessibility & contrast

On white

15.36
#1D156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1D156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D156A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D156A#FFFFFF#000000##FFFFFF
##1D156A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d156a;
/* rgb */ color: rgb(29, 21, 106);
/* oklch */ color: oklch(27.8% 0.139 276.6);
Tailwind
colors: {
  custom: {
    50: '#665496',
    500: '#1d156a',
    950: '#000000',
  },
}
SCSS
$custom: #1d156a;
$custom-light: #665496;
$custom-dark: #000000;
JSON
{
  "hex": "#1d156a",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 245.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27803,
    "c": 0.1388,
    "h": 276.6
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#1D156A
secondary
#97A13A
accent
#EA3EDA
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1D156A

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

Preview Lab → · Contrast checker → · Palette generator →

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