#1D155E#1D155E

#1D155E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.123 H 278.8°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#1D155E
RGBrgb(29, 21, 94)
HSLhsl(247, 63%, 23%)
HSVhsv(247, 78%, 37%)
CMYKcmyk(69.1%, 77.7%, 0%, 63.1%)
CIE-LABlab(13.26, 28.19, -41.98)
CIE-LCHlch(13.26, 50.57, 303.88°)
OKLaboklab(26.45% 0.0188 -0.1212)
OKLCHoklch(26.45% 0.123 278.8)
XYZxyz(2.7946, 1.6055, 10.7501)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D155E #565E15
analogous
#15325E #1D155E #41155E
triadic
#1D155E #5E1D15 #155E1D
tetradic
#1D155E #5E1532 #565E15 #155E41
square
#1D155E #5E1532 #565E15 #155E41
split-complementary
#1D155E #5E4115 #325E15
monochromatic
#080619 #0E0A2C #1D155E #2C2090 #3C2BC2

Accessibility & contrast

On white

15.89
#1D155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D155E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D155E#FFFFFF#000000##FFFFFF
##1D155E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d155e;
/* rgb */ color: rgb(29, 21, 94);
/* oklch */ color: oklch(26.4% 0.123 278.8);
Tailwind
colors: {
  custom: {
    50: '#63538c',
    500: '#1d155e',
    950: '#000000',
  },
}
SCSS
$custom: #1d155e;
$custom-light: #63538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d155e",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 246.575,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26446,
    "c": 0.12264,
    "h": 278.8
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#1D155E
secondary
#8B9539
accent
#E741D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D155E

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

Preview Lab → · Contrast checker → · Palette generator →

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