#151372#151372

#151372 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.153 H 271.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#151372
RGBrgb(21, 19, 114)
HSLhsl(241, 71%, 26%)
HSVhsv(241, 83%, 45%)
CMYKcmyk(81.6%, 83.3%, 0%, 55.3%)
CIE-LABlab(14.62, 35.59, -52.92)
CIE-LCHlch(14.62, 63.78, 303.92°)
OKLaboklab(27.94% 0.0039 -0.1532)
OKLCHoklch(27.94% 0.153 271.5)
XYZxyz(3.5784, 1.8397, 16.0828)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151372 #707213
analogous
#134072 #151372 #441372
triadic
#151372 #721513 #137215
tetradic
#151372 #721340 #707213 #137244
square
#151372 #721340 #707213 #137244
split-complementary
#151372 #724413 #407213
monochromatic
#05041A #0B0A3E #151372 #1F1CA6 #2925DB

Accessibility & contrast

On white

15.35
#151372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151372
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151372#FFFFFF#000000##FFFFFF
##1513721.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151372;
/* rgb */ color: rgb(21, 19, 114);
/* oklch */ color: oklch(27.9% 0.153 271.5);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#151372',
    950: '#000000',
  },
}
SCSS
$custom: #151372;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#151372",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 241.263,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27945,
    "c": 0.15325,
    "h": 271.5
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#151372
secondary
#A6A938
accent
#EE3AEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #151372

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

Preview Lab → · Contrast checker → · Palette generator →

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