#151680#151680

#151680 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.168 H 270.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#151680
RGBrgb(21, 22, 128)
HSLhsl(239, 72%, 29%)
HSVhsv(239, 84%, 50%)
CMYKcmyk(83.6%, 82.8%, 0%, 49.8%)
CIE-LABlab(16.95, 38.75, -58.05)
CIE-LCHlch(16.95, 69.80, 303.72°)
OKLaboklab(30.08% -0.0001 -0.1681)
OKLCHoklch(30.08% 0.168 270)
XYZxyz(4.4911, 2.2912, 20.6234)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151680 #807F15
analogous
#154C80 #151680 #4A1580
triadic
#151680 #801516 #168015
tetradic
#151680 #80154C #807F15 #15804A
square
#151680 #80154C #807F15 #15804A
split-complementary
#151680 #804A15 #4C8015
monochromatic
#04051A #0C0D4B #151680 #1E1FB5 #3234DD

Accessibility & contrast

On white

14.40
#151680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#151680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151680
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151680#FFFFFF#000000##FFFFFF
##1516801.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #151680;
/* rgb */ color: rgb(21, 22, 128);
/* oklch */ color: oklch(30.1% 0.168 270.0);
Tailwind
colors: {
  custom: {
    50: '#6956a6',
    500: '#151680',
    950: '#000000',
  },
}
SCSS
$custom: #151680;
$custom-light: #6956a6;
$custom-dark: #000000;
JSON
{
  "hex": "#151680",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 239.439,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30078,
    "c": 0.16811,
    "h": 270
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#151680
secondary
#B5B43C
accent
#ED39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #151680

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

Preview Lab → · Contrast checker → · Palette generator →

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