#151A36#151A36

#151A36 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.054 H 273.7°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#151A36
RGBrgb(21, 26, 54)
HSLhsl(231, 44%, 15%)
HSVhsv(231, 61%, 21%)
CMYKcmyk(61.1%, 51.9%, 0%, 78.8%)
CIE-LABlab(10.29, 7.59, -19.11)
CIE-LCHlch(10.29, 20.57, 291.65°)
OKLaboklab(22.95% 0.0035 -0.0543)
OKLCHoklch(22.95% 0.054 273.7)
XYZxyz(1.3443, 1.1645, 3.6432)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A36 #363115
analogous
#152B36 #151A36 #211536
triadic
#151A36 #36151A #1A3615
tetradic
#151A36 #36152B #363115 #153621
square
#151A36 #36152B #363115 #153621
split-complementary
#151A36 #362115 #2B3615
monochromatic
#090B16 #090B16 #151A36 #262F62 #37448E

Accessibility & contrast

On white

17.03
#151A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A36
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A36#FFFFFF#000000##FFFFFF
##151A361.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E37
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#072025
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a36;
/* rgb */ color: rgb(21, 26, 54);
/* oklch */ color: oklch(22.9% 0.054 273.7);
Tailwind
colors: {
  custom: {
    50: '#55566d',
    500: '#151a36',
    950: '#000000',
  },
}
SCSS
$custom: #151a36;
$custom-light: #55566d;
$custom-dark: #000000;
JSON
{
  "hex": "#151a36",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 230.909,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22949,
    "c": 0.05442,
    "h": 273.7
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#151A36
secondary
#6D653A
accent
#C054D4
background
#F5F5F6
surface
#E9E8EB
border
#C5C4C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151A36

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

Preview Lab → · Contrast checker → · Palette generator →

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