#151A35#151A35

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

Color values

HEX#151A35
RGBrgb(21, 26, 53)
HSLhsl(231, 43%, 15%)
HSVhsv(231, 60%, 21%)
CMYKcmyk(60.4%, 50.9%, 0%, 79.2%)
CIE-LABlab(10.22, 7.19, -18.51)
CIE-LCHlch(10.22, 19.85, 291.23°)
OKLaboklab(22.87% 0.0033 -0.0525)
OKLCHoklch(22.87% 0.053 273.6)
XYZxyz(1.3211, 1.1552, 3.5208)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A35 #353015
analogous
#152A35 #151A35 #201535
triadic
#151A35 #35151A #1A3515
tetradic
#151A35 #35152A #353015 #153520
square
#151A35 #35152A #353015 #153520
split-complementary
#151A35 #352015 #2A3515
monochromatic
#090B16 #090B16 #151A35 #263061 #38458D

Accessibility & contrast

On white

17.06
#151A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A35
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A35#FFFFFF#000000##FFFFFF
##151A351.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D36
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#072024
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151a35;
/* rgb */ color: rgb(21, 26, 53);
/* oklch */ color: oklch(22.9% 0.053 273.6);
Tailwind
colors: {
  custom: {
    50: '#55566c',
    500: '#151a35',
    950: '#000000',
  },
}
SCSS
$custom: #151a35;
$custom-light: #55566c;
$custom-dark: #000000;
JSON
{
  "hex": "#151a35",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 53
  },
  "hsl": {
    "h": 230.625,
    "s": 43.243,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22873,
    "c": 0.05262,
    "h": 273.6
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#151A35
secondary
#6C643A
accent
#BF55D3
background
#F5F5F6
surface
#E9E8EB
border
#C5C4C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151A35

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

Preview Lab → · Contrast checker → · Palette generator →

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