#151679#151679

#151679 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.159 H 270.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#151679
RGBrgb(21, 22, 121)
HSLhsl(239, 70%, 28%)
HSVhsv(239, 83%, 47%)
CMYKcmyk(82.6%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.07, 36.35, -55.04)
CIE-LCHlch(16.07, 65.96, 303.44°)
OKLaboklab(29.21% 0.0014 -0.1594)
OKLCHoklch(29.21% 0.159 270.5)
XYZxyz(4.0462, 2.1133, 18.2801)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151679 #797815
analogous
#154879 #151679 #461579
triadic
#151679 #791516 #167915
tetradic
#151679 #791548 #797815 #157946
square
#151679 #791548 #797815 #157946
split-complementary
#151679 #794615 #487915
monochromatic
#05051A #0C0D45 #151679 #1E1FAD #2E2FDB

Accessibility & contrast

On white

14.76
#151679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#151679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151679
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151679#FFFFFF#000000##FFFFFF
##1516791.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151679;
/* rgb */ color: rgb(21, 22, 121);
/* oklch */ color: oklch(29.2% 0.159 270.5);
Tailwind
colors: {
  custom: {
    50: '#6755a1',
    500: '#151679',
    950: '#000000',
  },
}
SCSS
$custom: #151679;
$custom-light: #6755a1;
$custom-dark: #000000;
JSON
{
  "hex": "#151679",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 239.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29212,
    "c": 0.15938,
    "h": 270.5
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#151679
secondary
#AFAD3B
accent
#EB3BED
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #151679

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

Preview Lab → · Contrast checker → · Palette generator →

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