#151850#151850

#151850 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.101 H 274.0°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#151850
RGBrgb(21, 24, 80)
HSLhsl(237, 58%, 20%)
HSVhsv(237, 74%, 31%)
CMYKcmyk(73.7%, 70%, 0%, 68.6%)
CIE-LABlab(11.90, 19.66, -34.77)
CIE-LCHlch(11.90, 39.94, 299.49°)
OKLaboklab(24.85% 0.0071 -0.1003)
OKLCHoklch(24.85% 0.101 274)
XYZxyz(2.0834, 1.3917, 7.7467)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151850 #504D15
analogous
#153650 #151850 #301550
triadic
#151850 #501518 #185015
tetradic
#151850 #501536 #504D15 #155030
square
#151850 #501536 #504D15 #155030
split-complementary
#151850 #503015 #365015
monochromatic
#060718 #080920 #151850 #222780 #2E35B1

Accessibility & contrast

On white

16.43
#151850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151850
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151850#FFFFFF#000000##FFFFFF
##1518501.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151850;
/* rgb */ color: rgb(21, 24, 80);
/* oklch */ color: oklch(24.9% 0.101 274.0);
Tailwind
colors: {
  custom: {
    50: '#5c5482',
    500: '#151850',
    950: '#000000',
  },
}
SCSS
$custom: #151850;
$custom-light: #5c5482;
$custom-dark: #000000;
JSON
{
  "hex": "#151850",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 236.949,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24852,
    "c": 0.10056,
    "h": 274
  },
  "luminance": 0.01392
}

Semantic roles & 50–950 ramp

primary
#151850
secondary
#888439
accent
#DA46E2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #151850

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

Preview Lab → · Contrast checker → · Palette generator →

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