#151F3C#151F3C

#151F3C is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.7% C 0.057 H 267.8°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#151F3C
RGBrgb(21, 31, 60)
HSLhsl(225, 48%, 16%)
HSVhsv(225, 65%, 24%)
CMYKcmyk(65%, 48.3%, 0%, 76.5%)
CIE-LABlab(12.39, 6.17, -20.06)
CIE-LCHlch(12.39, 20.99, 287.11°)
OKLaboklab(24.69% -0.0022 -0.057)
OKLCHoklch(24.69% 0.057 267.8)
XYZxyz(1.6146, 1.4655, 4.4719)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F3C #3C3215
analogous
#15323C #151F3C #1E153C
triadic
#151F3C #3C151F #1F3C15
tetradic
#151F3C #3C1532 #3C3215 #153C1E
square
#151F3C #3C1532 #3C3215 #153C1E
split-complementary
#151F3C #3C1E15 #323C15
monochromatic
#080C17 #080C17 #151F3C #253669 #354E97

Accessibility & contrast

On white

16.24
#151F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F3C
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F3C#FFFFFF#000000##FFFFFF
##151F3C1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223D
Deuteranopia (green-blind)
#0E1F3B
Tritanopia (blue-blind)
#01252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151f3c;
/* rgb */ color: rgb(21, 31, 60);
/* oklch */ color: oklch(24.7% 0.057 267.8);
Tailwind
colors: {
  custom: {
    50: '#565a72',
    500: '#151f3c',
    950: '#000000',
  },
}
SCSS
$custom: #151f3c;
$custom-light: #565a72;
$custom-dark: #000000;
JSON
{
  "hex": "#151f3c",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 224.615,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24689,
    "c": 0.05705,
    "h": 267.8
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#151F3C
secondary
#746539
accent
#B550D8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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