#152138#152138

#152138 is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.9% C 0.047 H 262.5°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#152138
RGBrgb(21, 33, 56)
HSLhsl(219, 45%, 15%)
HSVhsv(219, 63%, 22%)
CMYKcmyk(62.5%, 41.1%, 0%, 78%)
CIE-LABlab(12.81, 3.05, -16.55)
CIE-LCHlch(12.81, 16.83, 280.45°)
OKLaboklab(24.93% -0.0061 -0.0467)
OKLCHoklch(24.93% 0.047 262.5)
XYZxyz(1.5667, 1.5325, 3.9539)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152138 #382C15
analogous
#153238 #152138 #1B1538
triadic
#152138 #381521 #213815
tetradic
#152138 #381532 #382C15 #15381B
square
#152138 #381532 #382C15 #15381B
split-complementary
#152138 #381B15 #323815
monochromatic
#080D16 #080D16 #152138 #263B65 #365591

Accessibility & contrast

On white

16.07
#152138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#152138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152138
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152138#FFFFFF#000000##FFFFFF
##1521381.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#042629
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #152138;
/* rgb */ color: rgb(21, 33, 56);
/* oklch */ color: oklch(24.9% 0.047 262.5);
Tailwind
colors: {
  custom: {
    50: '#555b6e',
    500: '#152138',
    950: '#000000',
  },
}
SCSS
$custom: #152138;
$custom-light: #555b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#152138",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 219.429,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24934,
    "c": 0.04713,
    "h": 262.5
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#152138
secondary
#6F5D3A
accent
#A853D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #152138

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

Preview Lab → · Contrast checker → · Palette generator →

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