#15116F#15116F

#15116F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.151 H 272.0°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#15116F
RGBrgb(21, 17, 111)
HSLhsl(243, 73%, 25%)
HSVhsv(243, 85%, 44%)
CMYKcmyk(81.1%, 84.7%, 0%, 56.5%)
CIE-LABlab(13.87, 35.63, -52.22)
CIE-LCHlch(13.87, 63.22, 304.31°)
OKLaboklab(27.31% 0.0053 -0.1511)
OKLCHoklch(27.31% 0.151 272)
XYZxyz(3.3780, 1.7077, 15.1874)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15116F #6B6F11
analogous
#113C6F #15116F #44116F
triadic
#15116F #6F1511 #116F15
tetradic
#15116F #6F113C #6B6F11 #116F44
square
#15116F #6F113C #6B6F11 #116F44
split-complementary
#15116F #6F4411 #3C6F11
monochromatic
#05041B #0B093A #15116F #1F19A4 #2921D9

Accessibility & contrast

On white

15.65
#15116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#15116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15116F
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15116F#FFFFFF#000000##FFFFFF
##15116F1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #15116f;
/* rgb */ color: rgb(21, 17, 111);
/* oklch */ color: oklch(27.3% 0.151 272.0);
Tailwind
colors: {
  custom: {
    50: '#655299',
    500: '#15116f',
    950: '#000000',
  },
}
SCSS
$custom: #15116f;
$custom-light: #655299;
$custom-dark: #000000;
JSON
{
  "hex": "#15116f",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 242.553,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27312,
    "c": 0.15121,
    "h": 272
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#15116F
secondary
#A2A635
accent
#F038E8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #15116F

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

Preview Lab → · Contrast checker → · Palette generator →

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