#151373#151373

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

Color values

HEX#151373
RGBrgb(21, 19, 115)
HSLhsl(241, 72%, 26%)
HSVhsv(241, 83%, 45%)
CMYKcmyk(81.7%, 83.5%, 0%, 54.9%)
CIE-LABlab(14.75, 35.93, -53.36)
CIE-LCHlch(14.75, 64.33, 303.95°)
OKLaboklab(28.07% 0.0037 -0.1545)
OKLCHoklch(28.07% 0.155 271.4)
XYZxyz(3.6356, 1.8626, 16.3842)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151373 #717313
analogous
#134173 #151373 #451373
triadic
#151373 #731513 #137315
tetradic
#151373 #731341 #717313 #137345
square
#151373 #731341 #717313 #137345
split-complementary
#151373 #734513 #417313
monochromatic
#05041A #0B0A3E #151373 #1F1CA8 #2925DB

Accessibility & contrast

On white

15.30
#151373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151373
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151373#FFFFFF#000000##FFFFFF
##1513731.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151373;
/* rgb */ color: rgb(21, 19, 115);
/* oklch */ color: oklch(28.1% 0.155 271.4);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#151373',
    950: '#000000',
  },
}
SCSS
$custom: #151373;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#151373",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 241.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2807,
    "c": 0.15451,
    "h": 271.4
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#151373
secondary
#A7AA38
accent
#EE39EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #151373

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

Preview Lab → · Contrast checker → · Palette generator →

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