#151964#151964

#151964 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.128 H 271.8°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#151964
RGBrgb(21, 25, 100)
HSLhsl(237, 65%, 24%)
HSVhsv(237, 79%, 39%)
CMYKcmyk(79%, 75%, 0%, 60.8%)
CIE-LABlab(14.26, 26.83, -44.36)
CIE-LCHlch(14.26, 51.84, 301.17°)
OKLaboklab(27.2% 0.004 -0.1284)
OKLCHoklch(27.2% 0.128 271.8)
XYZxyz(2.9564, 1.7745, 12.2408)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151964 #646015
analogous
#154064 #151964 #381564
triadic
#151964 #641519 #196415
tetradic
#151964 #641540 #646015 #156438
square
#151964 #641540 #646015 #156438
split-complementary
#151964 #643815 #406415
monochromatic
#050619 #0A0C31 #151964 #202697 #2A32C9

Accessibility & contrast

On white

15.50
#151964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151964
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151964#FFFFFF#000000##FFFFFF
##1519641.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151964;
/* rgb */ color: rgb(21, 25, 100);
/* oklch */ color: oklch(27.2% 0.128 271.8);
Tailwind
colors: {
  custom: {
    50: '#615691',
    500: '#151964',
    950: '#000000',
  },
}
SCSS
$custom: #151964;
$custom-light: #615691;
$custom-dark: #000000;
JSON
{
  "hex": "#151964",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 236.962,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27197,
    "c": 0.12843,
    "h": 271.8
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#151964
secondary
#9B963A
accent
#E040E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151964

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

Preview Lab → · Contrast checker → · Palette generator →

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