#151963#151963

#151963 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.127 H 271.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#151963
RGBrgb(21, 25, 99)
HSLhsl(237, 65%, 24%)
HSVhsv(237, 79%, 39%)
CMYKcmyk(78.8%, 74.7%, 0%, 61.2%)
CIE-LABlab(14.15, 26.45, -43.88)
CIE-LCHlch(14.15, 51.23, 301.08°)
OKLaboklab(27.08% 0.0042 -0.127)
OKLCHoklch(27.08% 0.127 271.9)
XYZxyz(2.9083, 1.7552, 11.9875)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151963 #635F15
analogous
#154063 #151963 #381563
triadic
#151963 #631519 #196315
tetradic
#151963 #631540 #635F15 #156338
square
#151963 #631540 #635F15 #156338
split-complementary
#151963 #633815 #406315
monochromatic
#050619 #0A0C31 #151963 #202695 #2A32C8

Accessibility & contrast

On white

15.54
#151963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#151963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151963
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151963#FFFFFF#000000##FFFFFF
##1519631.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151963;
/* rgb */ color: rgb(21, 25, 99);
/* oklch */ color: oklch(27.1% 0.127 271.9);
Tailwind
colors: {
  custom: {
    50: '#615690',
    500: '#151963',
    950: '#000000',
  },
}
SCSS
$custom: #151963;
$custom-light: #615690;
$custom-dark: #000000;
JSON
{
  "hex": "#151963",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 236.923,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27085,
    "c": 0.12704,
    "h": 271.9
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#151963
secondary
#9A953A
accent
#DF40E8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #151963

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

Preview Lab → · Contrast checker → · Palette generator →

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