#15167D#15167D

#15167D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.164 H 270.2°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#15167D
RGBrgb(21, 22, 125)
HSLhsl(239, 71%, 29%)
HSVhsv(239, 83%, 49%)
CMYKcmyk(83.2%, 82.4%, 0%, 51%)
CIE-LABlab(16.57, 37.73, -56.77)
CIE-LCHlch(16.57, 68.16, 303.61°)
OKLaboklab(29.71% 0.0006 -0.1644)
OKLCHoklch(29.71% 0.164 270.2)
XYZxyz(4.2966, 2.2134, 19.5988)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15167D #7D7C15
analogous
#154A7D #15167D #48157D
triadic
#15167D #7D1516 #167D15
tetradic
#15167D #7D154A #7D7C15 #157D48
square
#15167D #7D154A #7D7C15 #157D48
split-complementary
#15167D #7D4815 #4A7D15
monochromatic
#04051A #0C0D49 #15167D #1E1FB1 #3032DC

Accessibility & contrast

On white

14.56
#15167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15167D
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15167D#FFFFFF#000000##FFFFFF
##15167D1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #15167d;
/* rgb */ color: rgb(21, 22, 125);
/* oklch */ color: oklch(29.7% 0.164 270.2);
Tailwind
colors: {
  custom: {
    50: '#6956a4',
    500: '#15167d',
    950: '#000000',
  },
}
SCSS
$custom: #15167d;
$custom-light: #6956a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15167d",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 239.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29706,
    "c": 0.16439,
    "h": 270.2
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15167D

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

Preview Lab → · Contrast checker → · Palette generator →

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