#151670#151670

#151670 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.148 H 271.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#151670
RGBrgb(21, 22, 112)
HSLhsl(239, 68%, 26%)
HSVhsv(239, 81%, 44%)
CMYKcmyk(81.2%, 80.4%, 0%, 56.1%)
CIE-LABlab(14.97, 33.18, -51.05)
CIE-LCHlch(14.97, 60.89, 303.02°)
OKLaboklab(28.12% 0.0033 -0.1478)
OKLCHoklch(28.12% 0.148 271.3)
XYZxyz(3.5198, 1.9027, 15.5078)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151670 #706F15
analogous
#154370 #151670 #411570
triadic
#151670 #701516 #167015
tetradic
#151670 #701543 #706F15 #157041
square
#151670 #701543 #706F15 #157041
split-complementary
#151670 #704115 #437015
monochromatic
#05051A #0B0C3C #151670 #1F20A4 #292BD7

Accessibility & contrast

On white

15.21
#151670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151670
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151670#FFFFFF#000000##FFFFFF
##1516701.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151670;
/* rgb */ color: rgb(21, 22, 112);
/* oklch */ color: oklch(28.1% 0.148 271.3);
Tailwind
colors: {
  custom: {
    50: '#65559a',
    500: '#151670',
    950: '#000000',
  },
}
SCSS
$custom: #151670;
$custom-light: #65559a;
$custom-dark: #000000;
JSON
{
  "hex": "#151670",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 239.341,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28116,
    "c": 0.14786,
    "h": 271.3
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#151670
secondary
#A6A53B
accent
#E93DEB
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151670

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

Preview Lab → · Contrast checker → · Palette generator →

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