#151A2C#151A2C

#151A2C is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.2% C 0.036 H 271.4°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#151A2C
RGBrgb(21, 26, 44)
HSLhsl(227, 35%, 13%)
HSVhsv(227, 52%, 17%)
CMYKcmyk(52.3%, 40.9%, 0%, 82.7%)
CIE-LABlab(9.64, 3.70, -12.87)
CIE-LCHlch(9.64, 13.39, 286.04°)
OKLaboklab(22.24% 0.0009 -0.0361)
OKLCHoklch(22.24% 0.036 271.4)
XYZxyz(1.1331, 1.0800, 2.5311)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A2C #2C2715
analogous
#15252C #151A2C #1B152C
triadic
#151A2C #2C151A #1A2C15
tetradic
#151A2C #2C1525 #2C2715 #152C1B
square
#151A2C #2C1525 #2C2715 #152C1B
split-complementary
#151A2C #2C1B15 #252C15
monochromatic
#0A0C15 #0A0C15 #151A2C #293255 #3D4B7F

Accessibility & contrast

On white

17.27
#151A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#151A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A2C
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A2C#FFFFFF#000000##FFFFFF
##151A2C1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2D
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#0D1E21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a2c;
/* rgb */ color: rgb(21, 26, 44);
/* oklch */ color: oklch(22.2% 0.036 271.4);
Tailwind
colors: {
  custom: {
    50: '#535665',
    500: '#151a2c',
    950: '#000000',
  },
}
SCSS
$custom: #151a2c;
$custom-light: #535665;
$custom-dark: #000000;
JSON
{
  "hex": "#151a2c",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 226.957,
    "s": 35.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22236,
    "c": 0.03609,
    "h": 271.4
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#151A2C
secondary
#62593B
accent
#B35CCB
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020305
muted
#78787A

Preview Lab

Preview with #151A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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