#151F3B#151F3B

#151F3B is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.6% C 0.055 H 267.5°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#151F3B
RGBrgb(21, 31, 59)
HSLhsl(224, 48%, 16%)
HSVhsv(224, 64%, 23%)
CMYKcmyk(64.4%, 47.5%, 0%, 76.9%)
CIE-LABlab(12.32, 5.77, -19.46)
CIE-LCHlch(12.32, 20.30, 286.51°)
OKLaboklab(24.62% -0.0025 -0.0552)
OKLCHoklch(24.62% 0.055 267.5)
XYZxyz(1.5884, 1.4550, 4.3340)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F3B #3B3115
analogous
#15323B #151F3B #1E153B
triadic
#151F3B #3B151F #1F3B15
tetradic
#151F3B #3B1532 #3B3115 #153B1E
square
#151F3B #3B1532 #3B3115 #153B1E
split-complementary
#151F3B #3B1E15 #323B15
monochromatic
#080C17 #080C17 #151F3B #253768 #354E95

Accessibility & contrast

On white

16.27
#151F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F3B
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F3B#FFFFFF#000000##FFFFFF
##151F3B1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#0E1F3A
Tritanopia (blue-blind)
#02252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151f3b;
/* rgb */ color: rgb(21, 31, 59);
/* oklch */ color: oklch(24.6% 0.055 267.5);
Tailwind
colors: {
  custom: {
    50: '#565a71',
    500: '#151f3b',
    950: '#000000',
  },
}
SCSS
$custom: #151f3b;
$custom-light: #565a71;
$custom-dark: #000000;
JSON
{
  "hex": "#151f3b",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 224.211,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24615,
    "c": 0.0553,
    "h": 267.5
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#151F3B
secondary
#726339
accent
#B451D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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