#151863#151863

#151863 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.128 H 272.1°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#151863
RGBrgb(21, 24, 99)
HSLhsl(238, 65%, 24%)
HSVhsv(238, 79%, 39%)
CMYKcmyk(78.8%, 75.8%, 0%, 61.2%)
CIE-LABlab(13.90, 27.11, -44.28)
CIE-LCHlch(13.90, 51.92, 301.48°)
OKLaboklab(26.91% 0.0047 -0.1281)
OKLCHoklch(26.91% 0.128 272.1)
XYZxyz(2.8873, 1.7132, 11.9805)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151863 #636015
analogous
#153F63 #151863 #391563
triadic
#151863 #631518 #186315
tetradic
#151863 #63153F #636015 #156339
square
#151863 #63153F #636015 #156339
split-complementary
#151863 #633915 #3F6315
monochromatic
#050619 #0A0C31 #151863 #202495 #2A30C8

Accessibility & contrast

On white

15.64
#151863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#151863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151863
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151863#FFFFFF#000000##FFFFFF
##1518631.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151863;
/* rgb */ color: rgb(21, 24, 99);
/* oklch */ color: oklch(26.9% 0.128 272.1);
Tailwind
colors: {
  custom: {
    50: '#615590',
    500: '#151863',
    950: '#000000',
  },
}
SCSS
$custom: #151863;
$custom-light: #615590;
$custom-dark: #000000;
JSON
{
  "hex": "#151863",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 237.692,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26911,
    "c": 0.12822,
    "h": 272.1
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#151863
secondary
#9A963A
accent
#E240E8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #151863

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

Preview Lab → · Contrast checker → · Palette generator →

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