#151C35#151C35

#151C35 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.4% C 0.049 H 270.4°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#151C35
RGBrgb(21, 28, 53)
HSLhsl(227, 43%, 15%)
HSVhsv(227, 60%, 21%)
CMYKcmyk(60.4%, 47.2%, 0%, 79.2%)
CIE-LABlab(10.90, 5.65, -17.43)
CIE-LCHlch(10.90, 18.32, 287.95°)
OKLaboklab(23.39% 0.0004 -0.0493)
OKLCHoklch(23.39% 0.049 270.4)
XYZxyz(1.3669, 1.2469, 3.5361)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C35 #352E15
analogous
#152C35 #151C35 #1E1535
triadic
#151C35 #35151C #1C3515
tetradic
#151C35 #35152C #352E15 #15351E
square
#151C35 #35152C #352E15 #15351E
split-complementary
#151C35 #351E15 #2C3515
monochromatic
#090C16 #090C16 #151C35 #263361 #384A8D

Accessibility & contrast

On white

16.81
#151C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#151C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C35
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C35#FFFFFF#000000##FFFFFF
##151C351.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F36
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#072125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151c35;
/* rgb */ color: rgb(21, 28, 53);
/* oklch */ color: oklch(23.4% 0.049 270.4);
Tailwind
colors: {
  custom: {
    50: '#55576c',
    500: '#151c35',
    950: '#000000',
  },
}
SCSS
$custom: #151c35;
$custom-light: #55576c;
$custom-dark: #000000;
JSON
{
  "hex": "#151c35",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 53
  },
  "hsl": {
    "h": 226.875,
    "s": 43.243,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23392,
    "c": 0.04935,
    "h": 270.4
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#151C35
secondary
#6C613A
accent
#B755D3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151C35

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

Preview Lab → · Contrast checker → · Palette generator →

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