#151B3C#151B3C

#151B3C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.063 H 272.9°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#151B3C
RGBrgb(21, 27, 60)
HSLhsl(231, 48%, 16%)
HSVhsv(231, 65%, 24%)
CMYKcmyk(65%, 55%, 0%, 76.5%)
CIE-LABlab(11.06, 9.24, -22.18)
CIE-LCHlch(11.06, 24.03, 292.61°)
OKLaboklab(23.67% 0.0032 -0.0633)
OKLCHoklch(23.67% 0.063 272.9)
XYZxyz(1.5165, 1.2694, 4.4392)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B3C #3C3615
analogous
#152E3C #151B3C #22153C
triadic
#151B3C #3C151B #1B3C15
tetradic
#151B3C #3C152E #3C3615 #153C22
square
#151B3C #3C152E #3C3615 #153C22
split-complementary
#151B3C #3C2215 #2E3C15
monochromatic
#080A17 #080A17 #151B3C #252F69 #354497

Accessibility & contrast

On white

16.75
#151B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151B3C
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B3C#FFFFFF#000000##FFFFFF
##151B3C1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#022228
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151b3c;
/* rgb */ color: rgb(21, 27, 60);
/* oklch */ color: oklch(23.7% 0.063 272.9);
Tailwind
colors: {
  custom: {
    50: '#565772',
    500: '#151b3c',
    950: '#000000',
  },
}
SCSS
$custom: #151b3c;
$custom-light: #565772;
$custom-dark: #000000;
JSON
{
  "hex": "#151b3c",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 230.769,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23675,
    "c": 0.06336,
    "h": 272.9
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#151B3C
secondary
#746B39
accent
#C350D8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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