#1D155C#1D155C

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

Color values

HEX#1D155C
RGBrgb(29, 21, 92)
HSLhsl(247, 63%, 22%)
HSVhsv(247, 77%, 36%)
CMYKcmyk(68.5%, 77.2%, 0%, 63.9%)
CIE-LABlab(13.05, 27.47, -41.00)
CIE-LCHlch(13.05, 49.35, 303.83°)
OKLaboklab(26.23% 0.0193 -0.1183)
OKLCHoklch(26.23% 0.12 279.3)
XYZxyz(2.7060, 1.5700, 10.2836)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D155C #545C15
analogous
#15305C #1D155C #41155C
triadic
#1D155C #5C1D15 #155C1D
tetradic
#1D155C #5C1530 #545C15 #155C41
square
#1D155C #5C1530 #545C15 #155C41
split-complementary
#1D155C #5C4115 #305C15
monochromatic
#080619 #0D0A2A #1D155C #2D208E #3C2CC0

Accessibility & contrast

On white

15.98
#1D155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D155C
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D155C#FFFFFF#000000##FFFFFF
##1D155C1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d155c;
/* rgb */ color: rgb(29, 21, 92);
/* oklch */ color: oklch(26.2% 0.120 279.3);
Tailwind
colors: {
  custom: {
    50: '#63538b',
    500: '#1d155c',
    950: '#000000',
  },
}
SCSS
$custom: #1d155c;
$custom-light: #63538b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d155c",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 246.761,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26226,
    "c": 0.11988,
    "h": 279.3
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D155C

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

Preview Lab → · Contrast checker → · Palette generator →

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