#151D50#151D50

#151D50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.093 H 271.5°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#151D50
RGBrgb(21, 29, 80)
HSLhsl(232, 58%, 20%)
HSVhsv(232, 74%, 31%)
CMYKcmyk(73.7%, 63.7%, 0%, 68.6%)
CIE-LABlab(13.33, 15.97, -32.43)
CIE-LCHlch(13.33, 36.15, 296.22°)
OKLaboklab(25.91% 0.0025 -0.0934)
OKLCHoklch(25.91% 0.093 271.5)
XYZxyz(2.1961, 1.6171, 7.7843)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D50 #504815
analogous
#153B50 #151D50 #2A1550
triadic
#151D50 #50151D #1D5015
tetradic
#151D50 #50153B #504815 #15502A
square
#151D50 #50153B #504815 #15502A
split-complementary
#151D50 #502A15 #3B5015
monochromatic
#060918 #080B20 #151D50 #222F80 #2E40B1

Accessibility & contrast

On white

15.87
#151D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#151D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D50
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D50#FFFFFF#000000##FFFFFF
##151D501.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151d50;
/* rgb */ color: rgb(21, 29, 80);
/* oklch */ color: oklch(25.9% 0.093 271.5);
Tailwind
colors: {
  custom: {
    50: '#5b5882',
    500: '#151d50',
    950: '#000000',
  },
}
SCSS
$custom: #151d50;
$custom-light: #5b5882;
$custom-dark: #000000;
JSON
{
  "hex": "#151d50",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 231.864,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2591,
    "c": 0.09344,
    "h": 271.5
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#151D50
secondary
#887D39
accent
#CD46E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #151D50

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

Preview Lab → · Contrast checker → · Palette generator →

#151D50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva