#151A34#151A34

#151A34 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.8% C 0.051 H 273.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#151A34
RGBrgb(21, 26, 52)
HSLhsl(230, 42%, 14%)
HSVhsv(230, 60%, 20%)
CMYKcmyk(59.6%, 50%, 0%, 79.6%)
CIE-LABlab(10.15, 6.79, -17.89)
CIE-LCHlch(10.15, 19.14, 290.78°)
OKLaboklab(22.8% 0.0031 -0.0507)
OKLCHoklch(22.8% 0.051 273.5)
XYZxyz(1.2983, 1.1461, 3.4009)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A34 #342F15
analogous
#152A34 #151A34 #201534
triadic
#151A34 #34151A #1A3415
tetradic
#151A34 #34152A #342F15 #153420
square
#151A34 #34152A #342F15 #153420
split-complementary
#151A34 #342015 #2A3415
monochromatic
#090B16 #090B16 #151A34 #273060 #38468B

Accessibility & contrast

On white

17.08
#151A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A34
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A34#FFFFFF#000000##FFFFFF
##151A341.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D35
Deuteranopia (green-blind)
#0C1B33
Tritanopia (blue-blind)
#082024
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a34;
/* rgb */ color: rgb(21, 26, 52);
/* oklch */ color: oklch(22.8% 0.051 273.5);
Tailwind
colors: {
  custom: {
    50: '#55566b',
    500: '#151a34',
    950: '#000000',
  },
}
SCSS
$custom: #151a34;
$custom-light: #55566b;
$custom-dark: #000000;
JSON
{
  "hex": "#151a34",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 230.323,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22798,
    "c": 0.05082,
    "h": 273.5
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#151A34
secondary
#6B633A
accent
#BE56D2
background
#F5F5F6
surface
#E9E8EB
border
#C5C4C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151A34

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

Preview Lab → · Contrast checker → · Palette generator →

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