#151950#151950

#151950 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.099 H 273.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#151950
RGBrgb(21, 25, 80)
HSLhsl(236, 58%, 20%)
HSVhsv(236, 74%, 31%)
CMYKcmyk(73.7%, 68.8%, 0%, 68.6%)
CIE-LABlab(12.18, 18.93, -34.31)
CIE-LCHlch(12.18, 39.19, 298.89°)
OKLaboklab(25.06% 0.0062 -0.099)
OKLCHoklch(25.06% 0.099 273.6)
XYZxyz(2.1044, 1.4337, 7.7537)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151950 #504C15
analogous
#153750 #151950 #2E1550
triadic
#151950 #501519 #195015
tetradic
#151950 #501537 #504C15 #15502E
square
#151950 #501537 #504C15 #15502E
split-complementary
#151950 #502E15 #375015
monochromatic
#060818 #080A20 #151950 #222880 #2E37B1

Accessibility & contrast

On white

16.32
#151950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151950
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151950#FFFFFF#000000##FFFFFF
##1519501.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151950;
/* rgb */ color: rgb(21, 25, 80);
/* oklch */ color: oklch(25.1% 0.099 273.6);
Tailwind
colors: {
  custom: {
    50: '#5c5582',
    500: '#151950',
    950: '#000000',
  },
}
SCSS
$custom: #151950;
$custom-light: #5c5582;
$custom-dark: #000000;
JSON
{
  "hex": "#151950",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 235.932,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25056,
    "c": 0.09917,
    "h": 273.6
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#151950
secondary
#888239
accent
#D746E2
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #151950

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

Preview Lab → · Contrast checker → · Palette generator →

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