#151968#151968

#151968 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.134 H 271.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#151968
RGBrgb(21, 25, 104)
HSLhsl(237, 66%, 25%)
HSVhsv(237, 80%, 41%)
CMYKcmyk(79.8%, 76%, 0%, 59.2%)
CIE-LABlab(14.70, 28.36, -46.27)
CIE-LCHlch(14.70, 54.26, 301.50°)
OKLaboklab(27.65% 0.0034 -0.1339)
OKLCHoklch(27.65% 0.134 271.5)
XYZxyz(3.1547, 1.8538, 13.2856)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151968 #686415
analogous
#154368 #151968 #3A1568
triadic
#151968 #681519 #196815
tetradic
#151968 #681543 #686415 #15683A
square
#151968 #681543 #686415 #15683A
split-complementary
#151968 #683A15 #436815
monochromatic
#050619 #0B0D35 #151968 #1F259B #2A31CE

Accessibility & contrast

On white

15.32
#151968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151968
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151968#FFFFFF#000000##FFFFFF
##1519681.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151968;
/* rgb */ color: rgb(21, 25, 104);
/* oklch */ color: oklch(27.7% 0.134 271.5);
Tailwind
colors: {
  custom: {
    50: '#625694',
    500: '#151968',
    950: '#000000',
  },
}
SCSS
$custom: #151968;
$custom-light: #625694;
$custom-dark: #000000;
JSON
{
  "hex": "#151968",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 237.108,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2765,
    "c": 0.13396,
    "h": 271.5
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#151968
secondary
#9F9A3A
accent
#E13EE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151968

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

Preview Lab → · Contrast checker → · Palette generator →

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