#151F3D#151F3D

#151F3D is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.8% C 0.059 H 268.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#151F3D
RGBrgb(21, 31, 61)
HSLhsl(225, 49%, 16%)
HSVhsv(225, 66%, 24%)
CMYKcmyk(65.6%, 49.2%, 0%, 76.1%)
CIE-LABlab(12.46, 6.58, -20.66)
CIE-LCHlch(12.46, 21.68, 287.67°)
OKLaboklab(24.76% -0.002 -0.0588)
OKLCHoklch(24.76% 0.059 268.1)
XYZxyz(1.6413, 1.4762, 4.6124)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F3D #3D3315
analogous
#15333D #151F3D #1F153D
triadic
#151F3D #3D151F #1F3D15
tetradic
#151F3D #3D1533 #3D3315 #153D1F
square
#151F3D #3D1533 #3D3315 #153D1F
split-complementary
#151F3D #3D1F15 #333D15
monochromatic
#080C17 #080C17 #151F3D #25366B #344D98

Accessibility & contrast

On white

16.21
#151F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F3D
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F3D#FFFFFF#000000##FFFFFF
##151F3D1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223E
Deuteranopia (green-blind)
#0D1F3C
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151f3d;
/* rgb */ color: rgb(21, 31, 61);
/* oklch */ color: oklch(24.8% 0.059 268.1);
Tailwind
colors: {
  custom: {
    50: '#565a72',
    500: '#151f3d',
    950: '#000000',
  },
}
SCSS
$custom: #151f3d;
$custom-light: #565a72;
$custom-dark: #000000;
JSON
{
  "hex": "#151f3d",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 225,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24764,
    "c": 0.05879,
    "h": 268.1
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#151F3D
secondary
#756639
accent
#B64FD8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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