#15153E#15153E

#15153E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.076 H 278.3°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#15153E
RGBrgb(21, 21, 62)
HSLhsl(240, 49%, 16%)
HSVhsv(240, 66%, 24%)
CMYKcmyk(66.1%, 66.1%, 0%, 75.7%)
CIE-LABlab(9.35, 14.65, -26.36)
CIE-LCHlch(9.35, 30.16, 299.06°)
OKLaboklab(22.44% 0.011 -0.0756)
OKLCHoklch(22.44% 0.076 278.3)
XYZxyz(1.4467, 1.0435, 4.6817)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15153E #3E3E15
analogous
#152A3E #15153E #2A153E
triadic
#15153E #3E1515 #153E15
tetradic
#15153E #3E152A #3E3E15 #153E2A
square
#15153E #3E152A #3E3E15 #153E2A
split-complementary
#15153E #3E2A15 #2A3E15
monochromatic
#080817 #080817 #15153E #24246C #343499

Accessibility & contrast

On white

17.37
#15153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#15153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15153E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15153E#FFFFFF#000000##FFFFFF
##15153E1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#011F27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #15153e;
/* rgb */ color: rgb(21, 21, 62);
/* oklch */ color: oklch(22.4% 0.076 278.3);
Tailwind
colors: {
  custom: {
    50: '#575274',
    500: '#15153e',
    950: '#000000',
  },
}
SCSS
$custom: #15153e;
$custom-light: #575274;
$custom-dark: #000000;
JSON
{
  "hex": "#15153e",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22443,
    "c": 0.07645,
    "h": 278.3
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#15153E
secondary
#767639
accent
#D94FD9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #15153E

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

Preview Lab → · Contrast checker → · Palette generator →

#15153E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva