#151D3C#151D3C

#151D3C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.2% C 0.060 H 270.5°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#151D3C
RGBrgb(21, 29, 60)
HSLhsl(228, 48%, 16%)
HSVhsv(228, 65%, 24%)
CMYKcmyk(65%, 51.7%, 0%, 76.5%)
CIE-LABlab(11.72, 7.70, -21.13)
CIE-LCHlch(11.72, 22.49, 290.03°)
OKLaboklab(24.18% 0.0005 -0.0602)
OKLCHoklch(24.18% 0.06 270.5)
XYZxyz(1.5640, 1.3643, 4.4550)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D3C #3C3415
analogous
#15303C #151D3C #20153C
triadic
#151D3C #3C151D #1D3C15
tetradic
#151D3C #3C1530 #3C3415 #153C20
square
#151D3C #3C1530 #3C3415 #153C20
split-complementary
#151D3C #3C2015 #303C15
monochromatic
#080B17 #080B17 #151D3C #253369 #354997

Accessibility & contrast

On white

16.50
#151D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D3C
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D3C#FFFFFF#000000##FFFFFF
##151D3C1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213D
Deuteranopia (green-blind)
#0A1D3B
Tritanopia (blue-blind)
#012429
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151d3c;
/* rgb */ color: rgb(21, 29, 60);
/* oklch */ color: oklch(24.2% 0.060 270.5);
Tailwind
colors: {
  custom: {
    50: '#565872',
    500: '#151d3c',
    950: '#000000',
  },
}
SCSS
$custom: #151d3c;
$custom-light: #565872;
$custom-dark: #000000;
JSON
{
  "hex": "#151d3c",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 227.692,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24176,
    "c": 0.06017,
    "h": 270.5
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#151D3C
secondary
#746839
accent
#BC50D8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #151D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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