#15167B#15167B

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

Color values

HEX#15167B
RGBrgb(21, 22, 123)
HSLhsl(239, 71%, 28%)
HSVhsv(239, 83%, 48%)
CMYKcmyk(82.9%, 82.1%, 0%, 51.8%)
CIE-LABlab(16.32, 37.04, -55.91)
CIE-LCHlch(16.32, 67.06, 303.53°)
OKLaboklab(29.46% 0.001 -0.1619)
OKLCHoklch(29.46% 0.162 270.3)
XYZxyz(4.1701, 2.1628, 18.9327)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15167B #7B7A15
analogous
#15497B #15167B #47157B
triadic
#15167B #7B1516 #167B15
tetradic
#15167B #7B1549 #7B7A15 #157B47
square
#15167B #7B1549 #7B7A15 #157B47
split-complementary
#15167B #7B4715 #497B15
monochromatic
#04051A #0C0D47 #15167B #1E1FAF #2F31DB

Accessibility & contrast

On white

14.66
#15167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#15167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15167B
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15167B#FFFFFF#000000##FFFFFF
##15167B1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15167b;
/* rgb */ color: rgb(21, 22, 123);
/* oklch */ color: oklch(29.5% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#15167b',
    950: '#000000',
  },
}
SCSS
$custom: #15167b;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15167b",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 239.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.16189,
    "h": 270.3
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15167B

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

Preview Lab → · Contrast checker → · Palette generator →

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