#151B3D#151B3D

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

Color values

HEX#151B3D
RGBrgb(21, 27, 61)
HSLhsl(231, 49%, 16%)
HSVhsv(231, 66%, 24%)
CMYKcmyk(65.6%, 55.7%, 0%, 76.1%)
CIE-LABlab(11.14, 9.65, -22.77)
CIE-LCHlch(11.14, 24.73, 292.96°)
OKLaboklab(23.76% 0.0034 -0.065)
OKLCHoklch(23.76% 0.065 272.9)
XYZxyz(1.5432, 1.2801, 4.5797)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B3D #3D3715
analogous
#152F3D #151B3D #23153D
triadic
#151B3D #3D151B #1B3D15
tetradic
#151B3D #3D152F #3D3715 #153D23
square
#151B3D #3D152F #3D3715 #153D23
split-complementary
#151B3D #3D2315 #2F3D15
monochromatic
#080A17 #080A17 #151B3D #252F6B #344398

Accessibility & contrast

On white

16.72
#151B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B3D
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B3D#FFFFFF#000000##FFFFFF
##151B3D1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A203E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#012329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151b3d;
/* rgb */ color: rgb(21, 27, 61);
/* oklch */ color: oklch(23.8% 0.065 272.9);
Tailwind
colors: {
  custom: {
    50: '#575773',
    500: '#151b3d',
    950: '#000000',
  },
}
SCSS
$custom: #151b3d;
$custom-light: #575773;
$custom-dark: #000000;
JSON
{
  "hex": "#151b3d",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 231,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23757,
    "c": 0.0651,
    "h": 272.9
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#151B3D
secondary
#756C39
accent
#C44FD8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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