#15167C#15167C

#15167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.163 H 270.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#15167C
RGBrgb(21, 22, 124)
HSLhsl(239, 71%, 28%)
HSVhsv(239, 83%, 49%)
CMYKcmyk(83.1%, 82.3%, 0%, 51.4%)
CIE-LABlab(16.44, 37.38, -56.34)
CIE-LCHlch(16.44, 67.61, 303.57°)
OKLaboklab(29.58% 0.0008 -0.1631)
OKLCHoklch(29.58% 0.163 270.3)
XYZxyz(4.2330, 2.1880, 19.2641)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15167C #7C7B15
analogous
#15497C #15167C #47157C
triadic
#15167C #7C1516 #167C15
tetradic
#15167C #7C1549 #7C7B15 #157C47
square
#15167C #7C1549 #7C7B15 #157C47
split-complementary
#15167C #7C4715 #497C15
monochromatic
#04051A #0C0D48 #15167C #1E1FB0 #3031DC

Accessibility & contrast

On white

14.61
#15167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#15167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15167C
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15167C#FFFFFF#000000##FFFFFF
##15167C1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #15167c;
/* rgb */ color: rgb(21, 22, 124);
/* oklch */ color: oklch(29.6% 0.163 270.3);
Tailwind
colors: {
  custom: {
    50: '#6856a3',
    500: '#15167c',
    950: '#000000',
  },
}
SCSS
$custom: #15167c;
$custom-light: #6856a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15167c",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 239.417,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29582,
    "c": 0.16314,
    "h": 270.3
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#15167C
secondary
#B1B03C
accent
#EC3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #15167C

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

Preview Lab → · Contrast checker → · Palette generator →

#15167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva