#152141#152141

#152141 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.063 H 266.6°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#152141
RGBrgb(21, 33, 65)
HSLhsl(224, 51%, 17%)
HSVhsv(224, 68%, 25%)
CMYKcmyk(67.7%, 49.2%, 0%, 74.5%)
CIE-LABlab(13.40, 6.71, -21.96)
CIE-LCHlch(13.40, 22.96, 286.99°)
OKLaboklab(25.58% -0.0038 -0.0625)
OKLCHoklch(25.58% 0.063 266.6)
XYZxyz(1.8069, 1.6286, 5.2191)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152141 #413515
analogous
#153741 #152141 #1F1541
triadic
#152141 #411521 #214115
tetradic
#152141 #411537 #413515 #15411F
square
#152141 #411537 #413515 #15411F
split-complementary
#152141 #411F15 #374115
monochromatic
#070C17 #070C17 #152141 #24386F #33509E

Accessibility & contrast

On white

15.84
#152141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#152141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152141
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152141#FFFFFF#000000##FFFFFF
##1521411.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132442
Deuteranopia (green-blind)
#0C2140
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #152141;
/* rgb */ color: rgb(21, 33, 65);
/* oklch */ color: oklch(25.6% 0.063 266.6);
Tailwind
colors: {
  custom: {
    50: '#575b76',
    500: '#152141',
    950: '#000000',
  },
}
SCSS
$custom: #152141;
$custom-light: #575b76;
$custom-dark: #000000;
JSON
{
  "hex": "#152141",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 65
  },
  "hsl": {
    "h": 223.636,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25582,
    "c": 0.06265,
    "h": 266.6
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#152141
secondary
#796739
accent
#B44DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #152141

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

Preview Lab → · Contrast checker → · Palette generator →

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