#151B34#151B34

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

Color values

HEX#151B34
RGBrgb(21, 27, 52)
HSLhsl(228, 42%, 14%)
HSVhsv(228, 60%, 20%)
CMYKcmyk(59.6%, 48.1%, 0%, 79.6%)
CIE-LABlab(10.49, 6.02, -17.36)
CIE-LCHlch(10.49, 18.37, 289.13°)
OKLaboklab(23.06% 0.0016 -0.0491)
OKLCHoklch(23.06% 0.049 271.9)
XYZxyz(1.3208, 1.1911, 3.4085)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B34 #342E15
analogous
#152B34 #151B34 #1F1534
triadic
#151B34 #34151B #1B3415
tetradic
#151B34 #34152B #342E15 #15341F
square
#151B34 #34152B #342E15 #15341F
split-complementary
#151B34 #341F15 #2B3415
monochromatic
#090B16 #090B16 #151B34 #273260 #38488B

Accessibility & contrast

On white

16.96
#151B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B34
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B34#FFFFFF#000000##FFFFFF
##151B341.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E35
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#082024
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151b34;
/* rgb */ color: rgb(21, 27, 52);
/* oklch */ color: oklch(23.1% 0.049 271.9);
Tailwind
colors: {
  custom: {
    50: '#55576b',
    500: '#151b34',
    950: '#000000',
  },
}
SCSS
$custom: #151b34;
$custom-light: #55576b;
$custom-dark: #000000;
JSON
{
  "hex": "#151b34",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 52
  },
  "hsl": {
    "h": 228.387,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23057,
    "c": 0.04917,
    "h": 271.9
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#151B34
secondary
#6B613A
accent
#BA56D2
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151B34

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

Preview Lab → · Contrast checker → · Palette generator →

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