#152135#152135

#152135 is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.7% C 0.042 H 260.2°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#152135
RGBrgb(21, 33, 53)
HSLhsl(218, 43%, 15%)
HSVhsv(218, 60%, 21%)
CMYKcmyk(60.4%, 37.7%, 0%, 79.2%)
CIE-LABlab(12.63, 1.87, -14.70)
CIE-LCHlch(12.63, 14.82, 277.24°)
OKLaboklab(24.74% -0.0071 -0.0413)
OKLCHoklch(24.74% 0.042 260.2)
XYZxyz(1.4955, 1.5041, 3.5790)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152135 #352915
analogous
#153135 #152135 #191535
triadic
#152135 #351521 #213515
tetradic
#152135 #351531 #352915 #153519
square
#152135 #351531 #352915 #153519
split-complementary
#152135 #351915 #313515
monochromatic
#090E16 #090E16 #152135 #263C61 #38588D

Accessibility & contrast

On white

16.14
#152135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#152135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152135
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152135#FFFFFF#000000##FFFFFF
##1521351.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192236
Deuteranopia (green-blind)
#151F35
Tritanopia (blue-blind)
#062528
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #152135;
/* rgb */ color: rgb(21, 33, 53);
/* oklch */ color: oklch(24.7% 0.042 260.2);
Tailwind
colors: {
  custom: {
    50: '#555b6c',
    500: '#152135',
    950: '#000000',
  },
}
SCSS
$custom: #152135;
$custom-light: #555b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#152135",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 53
  },
  "hsl": {
    "h": 217.5,
    "s": 43.243,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24735,
    "c": 0.04195,
    "h": 260.2
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#152135
secondary
#6C593A
accent
#A455D3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030407
muted
#78797A

Preview Lab

Preview with #152135

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

Preview Lab → · Contrast checker → · Palette generator →

#152135 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva