#151970#151970

#151970 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.145 H 270.8°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#151970
RGBrgb(21, 25, 112)
HSLhsl(237, 68%, 26%)
HSVhsv(237, 81%, 44%)
CMYKcmyk(81.2%, 77.7%, 0%, 56.1%)
CIE-LABlab(15.61, 31.35, -49.99)
CIE-LCHlch(15.61, 59.00, 302.09°)
OKLaboklab(28.57% 0.0021 -0.1447)
OKLCHoklch(28.57% 0.145 270.8)
XYZxyz(3.5805, 2.0241, 15.5281)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151970 #706C15
analogous
#154670 #151970 #3E1570
triadic
#151970 #701519 #197015
tetradic
#151970 #701546 #706C15 #15703E
square
#151970 #701546 #706C15 #15703E
split-complementary
#151970 #703E15 #467015
monochromatic
#05061A #0B0D3C #151970 #1F25A4 #2930D7

Accessibility & contrast

On white

14.95
#151970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#151970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151970
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151970#FFFFFF#000000##FFFFFF
##1519701.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151970;
/* rgb */ color: rgb(21, 25, 112);
/* oklch */ color: oklch(28.6% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#65579a',
    500: '#151970',
    950: '#000000',
  },
}
SCSS
$custom: #151970;
$custom-light: #65579a;
$custom-dark: #000000;
JSON
{
  "hex": "#151970",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 237.363,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.14476,
    "h": 270.8
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#151970
secondary
#A6A23B
accent
#E43DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151970

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

Preview Lab → · Contrast checker → · Palette generator →

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