#1D155B#1D155B

#1D155B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.118 H 279.5°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#1D155B
RGBrgb(29, 21, 91)
HSLhsl(247, 63%, 22%)
HSVhsv(247, 77%, 36%)
CMYKcmyk(68.1%, 76.9%, 0%, 64.3%)
CIE-LABlab(12.94, 27.12, -40.50)
CIE-LCHlch(12.94, 48.74, 303.80°)
OKLaboklab(26.12% 0.0195 -0.1169)
OKLCHoklch(26.12% 0.118 279.5)
XYZxyz(2.6626, 1.5527, 10.0549)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D155B #535B15
analogous
#15305B #1D155B #40155B
triadic
#1D155B #5B1D15 #155B1D
tetradic
#1D155B #5B1530 #535B15 #155B40
square
#1D155B #5B1530 #535B15 #155B40
split-complementary
#1D155B #5B4015 #305B15
monochromatic
#080619 #0D0A29 #1D155B #2D208D #3D2CBE

Accessibility & contrast

On white

16.02
#1D155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D155B
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D155B#FFFFFF#000000##FFFFFF
##1D155B1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d155b;
/* rgb */ color: rgb(29, 21, 91);
/* oklch */ color: oklch(26.1% 0.118 279.5);
Tailwind
colors: {
  custom: {
    50: '#62538a',
    500: '#1d155b',
    950: '#000000',
  },
}
SCSS
$custom: #1d155b;
$custom-light: #62538a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d155b",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 246.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26117,
    "c": 0.11848,
    "h": 279.5
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#1D155B
secondary
#889239
accent
#E642D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D155B

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

Preview Lab → · Contrast checker → · Palette generator →

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