#15156F#15156F

#15156F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.148 H 271.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#15156F
RGBrgb(21, 21, 111)
HSLhsl(240, 68%, 26%)
HSVhsv(240, 81%, 44%)
CMYKcmyk(81.1%, 81.1%, 0%, 56.5%)
CIE-LABlab(14.64, 33.41, -50.94)
CIE-LCHlch(14.64, 60.92, 303.26°)
OKLaboklab(27.85% 0.0039 -0.1475)
OKLCHoklch(27.85% 0.148 271.5)
XYZxyz(3.4457, 1.8431, 15.2100)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15156F #6F6F15
analogous
#15426F #15156F #42156F
triadic
#15156F #6F1515 #156F15
tetradic
#15156F #6F1542 #6F6F15 #156F42
square
#15156F #6F1542 #6F6F15 #156F42
split-complementary
#15156F #6F4215 #426F15
monochromatic
#05051A #0B0B3C #15156F #1F1FA2 #2828D6

Accessibility & contrast

On white

15.34
#15156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#15156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15156F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15156F#FFFFFF#000000##FFFFFF
##15156F1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15156f;
/* rgb */ color: rgb(21, 21, 111);
/* oklch */ color: oklch(27.9% 0.148 271.5);
Tailwind
colors: {
  custom: {
    50: '#655499',
    500: '#15156f',
    950: '#000000',
  },
}
SCSS
$custom: #15156f;
$custom-light: #655499;
$custom-dark: #000000;
JSON
{
  "hex": "#15156f",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2785,
    "c": 0.14754,
    "h": 271.5
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#15156F
secondary
#A5A53A
accent
#EB3DEB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #15156F

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

Preview Lab → · Contrast checker → · Palette generator →

#15156F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva