#151B36#151B36

#151B36 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.2% C 0.053 H 272.3°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#151B36
RGBrgb(21, 27, 54)
HSLhsl(229, 44%, 15%)
HSVhsv(229, 61%, 21%)
CMYKcmyk(61.1%, 50%, 0%, 78.8%)
CIE-LABlab(10.63, 6.82, -18.58)
CIE-LCHlch(10.63, 19.79, 290.14°)
OKLaboklab(23.21% 0.0021 -0.0527)
OKLCHoklch(23.21% 0.053 272.3)
XYZxyz(1.3668, 1.2095, 3.6508)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B36 #363015
analogous
#152C36 #151B36 #201536
triadic
#151B36 #36151B #1B3615
tetradic
#151B36 #36152C #363015 #153620
square
#151B36 #36152C #363015 #153620
split-complementary
#151B36 #362015 #2C3615
monochromatic
#090B16 #090B16 #151B36 #263162 #37478E

Accessibility & contrast

On white

16.91
#151B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B36
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B36#FFFFFF#000000##FFFFFF
##151B361.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E37
Deuteranopia (green-blind)
#0C1B35
Tritanopia (blue-blind)
#072125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151b36;
/* rgb */ color: rgb(21, 27, 54);
/* oklch */ color: oklch(23.2% 0.053 272.3);
Tailwind
colors: {
  custom: {
    50: '#55576d',
    500: '#151b36',
    950: '#000000',
  },
}
SCSS
$custom: #151b36;
$custom-light: #55576d;
$custom-dark: #000000;
JSON
{
  "hex": "#151b36",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 229.091,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23205,
    "c": 0.05276,
    "h": 272.3
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#151B36
secondary
#6D643A
accent
#BD54D4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151B36

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

Preview Lab → · Contrast checker → · Palette generator →

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