#152167#152167

#152167 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.123 H 269.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#152167
RGBrgb(21, 33, 103)
HSLhsl(231, 66%, 24%)
HSVhsv(231, 80%, 40%)
CMYKcmyk(79.6%, 68%, 0%, 59.6%)
CIE-LABlab(16.63, 22.47, -42.44)
CIE-LCHlch(16.63, 48.02, 297.90°)
OKLaboklab(29.02% -0.0014 -0.1227)
OKLCHoklch(29.02% 0.123 269.4)
XYZxyz(3.3005, 2.2261, 13.0851)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152167 #675B15
analogous
#154A67 #152167 #321567
triadic
#152167 #671521 #216715
tetradic
#152167 #67154A #675B15 #156732
square
#152167 #67154A #675B15 #156732
split-complementary
#152167 #673215 #4A6715
monochromatic
#050819 #0B1134 #152167 #1F319A #2A42CD

Accessibility & contrast

On white

14.53
#152167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#152167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152167
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152167#FFFFFF#000000##FFFFFF
##1521671.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152167;
/* rgb */ color: rgb(21, 33, 103);
/* oklch */ color: oklch(29.0% 0.123 269.4);
Tailwind
colors: {
  custom: {
    50: '#615c93',
    500: '#152167',
    950: '#000000',
  },
}
SCSS
$custom: #152167;
$custom-light: #615c93;
$custom-dark: #000000;
JSON
{
  "hex": "#152167",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 231.22,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29019,
    "c": 0.12272,
    "h": 269.4
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#152167
secondary
#9E8F3A
accent
#D03FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #152167

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

Preview Lab → · Contrast checker → · Palette generator →

#152167 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva