#151973#151973

#151973 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.149 H 270.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#151973
RGBrgb(21, 25, 115)
HSLhsl(237, 69%, 27%)
HSVhsv(237, 82%, 45%)
CMYKcmyk(81.7%, 78.3%, 0%, 54.9%)
CIE-LABlab(15.96, 32.45, -51.35)
CIE-LCHlch(15.96, 60.74, 302.29°)
OKLaboklab(28.93% 0.0015 -0.1487)
OKLCHoklch(28.93% 0.149 270.6)
XYZxyz(3.7504, 2.0921, 16.4225)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151973 #736F15
analogous
#154873 #151973 #401573
triadic
#151973 #731519 #197315
tetradic
#151973 #731548 #736F15 #157340
square
#151973 #731548 #736F15 #157340
split-complementary
#151973 #734015 #487315
monochromatic
#05061A #0C0E3F #151973 #1E24A7 #2A32D8

Accessibility & contrast

On white

14.81
#151973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#151973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151973
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151973#FFFFFF#000000##FFFFFF
##1519731.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151973;
/* rgb */ color: rgb(21, 25, 115);
/* oklch */ color: oklch(28.9% 0.149 270.6);
Tailwind
colors: {
  custom: {
    50: '#65579c',
    500: '#151973',
    950: '#000000',
  },
}
SCSS
$custom: #151973;
$custom-light: #65579c;
$custom-dark: #000000;
JSON
{
  "hex": "#151973",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 237.447,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28925,
    "c": 0.14873,
    "h": 270.6
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#151973
secondary
#A9A43B
accent
#E43CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151973

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

Preview Lab → · Contrast checker → · Palette generator →

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