#151671#151671

#151671 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.149 H 271.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#151671
RGBrgb(21, 22, 113)
HSLhsl(239, 69%, 26%)
HSVhsv(239, 81%, 44%)
CMYKcmyk(81.4%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.09, 33.53, -51.50)
CIE-LCHlch(15.09, 61.46, 303.07°)
OKLaboklab(28.24% 0.0031 -0.1491)
OKLCHoklch(28.24% 0.149 271.2)
XYZxyz(3.5758, 1.9251, 15.8027)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151671 #717015
analogous
#154471 #151671 #421571
triadic
#151671 #711516 #167115
tetradic
#151671 #711544 #717015 #157142
square
#151671 #711544 #717015 #157142
split-complementary
#151671 #714215 #447115
monochromatic
#05051A #0B0C3D #151671 #1F20A5 #292BD7

Accessibility & contrast

On white

15.16
#151671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151671
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151671#FFFFFF#000000##FFFFFF
##1516711.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151671;
/* rgb */ color: rgb(21, 22, 113);
/* oklch */ color: oklch(28.2% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#65559b',
    500: '#151671',
    950: '#000000',
  },
}
SCSS
$custom: #151671;
$custom-light: #65559b;
$custom-dark: #000000;
JSON
{
  "hex": "#151671",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 239.348,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28236,
    "c": 0.14915,
    "h": 271.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#151671
secondary
#A7A63B
accent
#EA3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151671

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

Preview Lab → · Contrast checker → · Palette generator →

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