#151867#151867

#151867 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.134 H 271.7°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#151867
RGBrgb(21, 24, 103)
HSLhsl(238, 66%, 24%)
HSVhsv(238, 80%, 40%)
CMYKcmyk(79.6%, 76.7%, 0%, 59.6%)
CIE-LABlab(14.35, 28.63, -46.18)
CIE-LCHlch(14.35, 54.34, 301.80°)
OKLaboklab(27.37% 0.0041 -0.1337)
OKLCHoklch(27.37% 0.134 271.7)
XYZxyz(3.0832, 1.7916, 13.0127)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151867 #676415
analogous
#154167 #151867 #3B1567
triadic
#151867 #671518 #186715
tetradic
#151867 #671541 #676415 #15673B
square
#151867 #671541 #676415 #15673B
split-complementary
#151867 #673B15 #416715
monochromatic
#050619 #0B0C34 #151867 #1F249A #2A30CD

Accessibility & contrast

On white

15.46
#151867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151867
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151867#FFFFFF#000000##FFFFFF
##1518671.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151867;
/* rgb */ color: rgb(21, 24, 103);
/* oklch */ color: oklch(27.4% 0.134 271.7);
Tailwind
colors: {
  custom: {
    50: '#625593',
    500: '#151867',
    950: '#000000',
  },
}
SCSS
$custom: #151867;
$custom-light: #625593;
$custom-dark: #000000;
JSON
{
  "hex": "#151867",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 237.805,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27367,
    "c": 0.13373,
    "h": 271.7
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#151867
secondary
#9E9A3A
accent
#E33FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151867

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

Preview Lab → · Contrast checker → · Palette generator →

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