#151B3B#151B3B

#151B3B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.062 H 272.8°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#151B3B
RGBrgb(21, 27, 59)
HSLhsl(231, 48%, 16%)
HSVhsv(231, 64%, 23%)
CMYKcmyk(64.4%, 54.2%, 0%, 76.9%)
CIE-LABlab(10.99, 8.83, -21.59)
CIE-LCHlch(10.99, 23.32, 292.25°)
OKLaboklab(23.59% 0.003 -0.0615)
OKLCHoklch(23.59% 0.062 272.8)
XYZxyz(1.4904, 1.2590, 4.3013)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B3B #3B3515
analogous
#152E3B #151B3B #22153B
triadic
#151B3B #3B151B #1B3B15
tetradic
#151B3B #3B152E #3B3515 #153B22
square
#151B3B #3B152E #3B3515 #153B22
split-complementary
#151B3B #3B2215 #2E3B15
monochromatic
#080A17 #080A17 #151B3B #253068 #354495

Accessibility & contrast

On white

16.78
#151B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B3B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B3B#FFFFFF#000000##FFFFFF
##151B3B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3C
Deuteranopia (green-blind)
#071C3A
Tritanopia (blue-blind)
#022228
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151b3b;
/* rgb */ color: rgb(21, 27, 59);
/* oklch */ color: oklch(23.6% 0.062 272.8);
Tailwind
colors: {
  custom: {
    50: '#565771',
    500: '#151b3b',
    950: '#000000',
  },
}
SCSS
$custom: #151b3b;
$custom-light: #565771;
$custom-dark: #000000;
JSON
{
  "hex": "#151b3b",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 230.526,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23594,
    "c": 0.06162,
    "h": 272.8
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#151B3B
secondary
#726939
accent
#C251D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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