#1D155A#1D155A

#1D155A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 26.0% C 0.117 H 279.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#1D155A
RGBrgb(29, 21, 90)
HSLhsl(247, 62%, 22%)
HSVhsv(247, 77%, 35%)
CMYKcmyk(67.8%, 76.7%, 0%, 64.7%)
CIE-LABlab(12.83, 26.76, -40.01)
CIE-LCHlch(12.83, 48.13, 303.78°)
OKLaboklab(26.01% 0.0197 -0.1154)
OKLCHoklch(26.01% 0.117 279.7)
XYZxyz(2.6197, 1.5355, 9.8292)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D155A #525A15
analogous
#15305A #1D155A #40155A
triadic
#1D155A #5A1D15 #155A1D
tetradic
#1D155A #5A1530 #525A15 #155A40
square
#1D155A #5A1530 #525A15 #155A40
split-complementary
#1D155A #5A4015 #305A15
monochromatic
#080619 #0D0928 #1D155A #2D218C #3D2CBD

Accessibility & contrast

On white

16.06
#1D155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D155A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D155A#FFFFFF#000000##FFFFFF
##1D155A1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d155a;
/* rgb */ color: rgb(29, 21, 90);
/* oklch */ color: oklch(26.0% 0.117 279.7);
Tailwind
colors: {
  custom: {
    50: '#625389',
    500: '#1d155a',
    950: '#000000',
  },
}
SCSS
$custom: #1d155a;
$custom-light: #625389;
$custom-dark: #000000;
JSON
{
  "hex": "#1d155a",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 246.957,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.11709,
    "h": 279.7
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#1D155A
secondary
#879239
accent
#E543D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D155A

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

Preview Lab → · Contrast checker → · Palette generator →

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