#151B35#151B35

#151B35 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.1% C 0.051 H 272.1°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#151B35
RGBrgb(21, 27, 53)
HSLhsl(229, 43%, 15%)
HSVhsv(229, 60%, 21%)
CMYKcmyk(60.4%, 49.1%, 0%, 79.2%)
CIE-LABlab(10.56, 6.42, -17.97)
CIE-LCHlch(10.56, 19.08, 289.65°)
OKLaboklab(23.13% 0.0019 -0.0509)
OKLCHoklch(23.13% 0.051 272.1)
XYZxyz(1.3436, 1.2003, 3.5283)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B35 #352F15
analogous
#152B35 #151B35 #1F1535
triadic
#151B35 #35151B #1B3515
tetradic
#151B35 #35152B #352F15 #15351F
square
#151B35 #35152B #352F15 #15351F
split-complementary
#151B35 #351F15 #2B3515
monochromatic
#090B16 #090B16 #151B35 #263161 #38488D

Accessibility & contrast

On white

16.94
#151B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B35
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B35#FFFFFF#000000##FFFFFF
##151B351.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E36
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#072125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151b35;
/* rgb */ color: rgb(21, 27, 53);
/* oklch */ color: oklch(23.1% 0.051 272.1);
Tailwind
colors: {
  custom: {
    50: '#55576c',
    500: '#151b35',
    950: '#000000',
  },
}
SCSS
$custom: #151b35;
$custom-light: #55576c;
$custom-dark: #000000;
JSON
{
  "hex": "#151b35",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 53
  },
  "hsl": {
    "h": 228.75,
    "s": 43.243,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23131,
    "c": 0.05096,
    "h": 272.1
  },
  "luminance": 0.012
}

Semantic roles & 50–950 ramp

primary
#151B35
secondary
#6C633A
accent
#BB55D3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #151B35

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

Preview Lab → · Contrast checker → · Palette generator →

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