#151C53#151C53

#151C53 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.100 H 271.9°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#151C53
RGBrgb(21, 28, 83)
HSLhsl(233, 60%, 20%)
HSVhsv(233, 75%, 33%)
CMYKcmyk(74.7%, 66.3%, 0%, 67.5%)
CIE-LABlab(13.32, 17.95, -34.50)
CIE-LCHlch(13.32, 38.89, 297.48°)
OKLaboklab(25.98% 0.0034 -0.0995)
OKLCHoklch(25.98% 0.1 271.9)
XYZxyz(2.2853, 1.6143, 8.3731)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C53 #534C15
analogous
#153B53 #151C53 #2D1553
triadic
#151C53 #53151C #1C5315
tetradic
#151C53 #53153B #534C15 #15532D
square
#151C53 #53153B #534C15 #15532D
split-complementary
#151C53 #532D15 #3B5315
monochromatic
#060818 #090C22 #151C53 #212C84 #2E3DB5

Accessibility & contrast

On white

15.88
#151C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C53
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C53#FFFFFF#000000##FFFFFF
##151C531.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151c53;
/* rgb */ color: rgb(21, 28, 83);
/* oklch */ color: oklch(26.0% 0.100 271.9);
Tailwind
colors: {
  custom: {
    50: '#5c5884',
    500: '#151c53',
    950: '#000000',
  },
}
SCSS
$custom: #151c53;
$custom-light: #5c5884;
$custom-dark: #000000;
JSON
{
  "hex": "#151c53",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 233.226,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25982,
    "c": 0.09957,
    "h": 271.9
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#151C53
secondary
#8B8239
accent
#D145E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #151C53

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

Preview Lab → · Contrast checker → · Palette generator →

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