#1D155D#1D155D

#1D155D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.121 H 279.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#1D155D
RGBrgb(29, 21, 93)
HSLhsl(247, 63%, 22%)
HSVhsv(247, 77%, 36%)
CMYKcmyk(68.8%, 77.4%, 0%, 63.5%)
CIE-LABlab(13.15, 27.83, -41.49)
CIE-LCHlch(13.15, 49.96, 303.85°)
OKLaboklab(26.34% 0.0191 -0.1198)
OKLCHoklch(26.34% 0.121 279)
XYZxyz(2.7500, 1.5876, 10.5153)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D155D #555D15
analogous
#15315D #1D155D #41155D
triadic
#1D155D #5D1D15 #155D1D
tetradic
#1D155D #5D1531 #555D15 #155D41
square
#1D155D #5D1531 #555D15 #155D41
split-complementary
#1D155D #5D4115 #315D15
monochromatic
#080619 #0D0A2B #1D155D #2D208F #3C2CC1

Accessibility & contrast

On white

15.94
#1D155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1D155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D155D
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D155D#FFFFFF#000000##FFFFFF
##1D155D1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d155d;
/* rgb */ color: rgb(29, 21, 93);
/* oklch */ color: oklch(26.3% 0.121 279.0);
Tailwind
colors: {
  custom: {
    50: '#63538c',
    500: '#1d155d',
    950: '#000000',
  },
}
SCSS
$custom: #1d155d;
$custom-light: #63538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d155d",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 246.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26336,
    "c": 0.12127,
    "h": 279
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#1D155D
secondary
#8A9439
accent
#E642D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D155D

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

Preview Lab → · Contrast checker → · Palette generator →

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