#151672#151672

#151672 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.150 H 271.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#151672
RGBrgb(21, 22, 114)
HSLhsl(239, 69%, 26%)
HSVhsv(239, 82%, 45%)
CMYKcmyk(81.6%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.21, 33.89, -51.95)
CIE-LCHlch(15.21, 62.03, 303.12°)
OKLaboklab(28.36% 0.0029 -0.1504)
OKLCHoklch(28.36% 0.15 271.1)
XYZxyz(3.6324, 1.9477, 16.1008)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151672 #727115
analogous
#154572 #151672 #431572
triadic
#151672 #721516 #167215
tetradic
#151672 #721545 #727115 #157243
square
#151672 #721545 #727115 #157243
split-complementary
#151672 #724315 #457215
monochromatic
#05051A #0B0C3E #151672 #1F20A6 #2A2CD8

Accessibility & contrast

On white

15.11
#151672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151672
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151672#FFFFFF#000000##FFFFFF
##1516721.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151672;
/* rgb */ color: rgb(21, 22, 114);
/* oklch */ color: oklch(28.4% 0.150 271.1);
Tailwind
colors: {
  custom: {
    50: '#65559c',
    500: '#151672',
    950: '#000000',
  },
}
SCSS
$custom: #151672;
$custom-light: #65559c;
$custom-dark: #000000;
JSON
{
  "hex": "#151672",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 239.355,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.15045,
    "h": 271.1
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#151672
secondary
#A8A73B
accent
#EA3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151672

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

Preview Lab → · Contrast checker → · Palette generator →

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