#1D156F#1D156F

#1D156F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.145 H 275.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1D156F
RGBrgb(29, 21, 111)
HSLhsl(245, 68%, 26%)
HSVhsv(245, 81%, 44%)
CMYKcmyk(73.9%, 81.1%, 0%, 56.5%)
CIE-LABlab(15.20, 34.12, -50.01)
CIE-LCHlch(15.20, 60.54, 304.31°)
OKLaboklab(28.39% 0.0146 -0.1446)
OKLCHoklch(28.39% 0.145 275.8)
XYZxyz(3.6432, 1.9449, 15.2193)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D156F #676F15
analogous
#153A6F #1D156F #4A156F
triadic
#1D156F #6F1D15 #156F1D
tetradic
#1D156F #6F153A #676F15 #156F4A
square
#1D156F #6F153A #676F15 #156F4A
split-complementary
#1D156F #6F4A15 #3A6F15
monochromatic
#07051A #100B3C #1D156F #2A1FA2 #3828D6

Accessibility & contrast

On white

15.12
#1D156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D156F
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D156F#FFFFFF#000000##FFFFFF
##1D156F1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d156f;
/* rgb */ color: rgb(29, 21, 111);
/* oklch */ color: oklch(28.4% 0.145 275.8);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1d156f',
    950: '#000000',
  },
}
SCSS
$custom: #1d156f;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1d156f",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 245.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28385,
    "c": 0.14532,
    "h": 275.8
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#1D156F
secondary
#9CA53A
accent
#EB3DDC
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D156F

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

Preview Lab → · Contrast checker → · Palette generator →

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