#152144#152144

#152144 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.068 H 267.3°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#152144
RGBrgb(21, 33, 68)
HSLhsl(225, 53%, 17%)
HSVhsv(225, 69%, 27%)
CMYKcmyk(69.1%, 51.5%, 0%, 73.3%)
CIE-LABlab(13.62, 7.95, -23.71)
CIE-LCHlch(13.62, 25.00, 288.53°)
OKLaboklab(25.81% -0.0032 -0.0677)
OKLCHoklch(25.81% 0.068 267.3)
XYZxyz(1.8961, 1.6643, 5.6890)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152144 #443815
analogous
#153844 #152144 #211544
triadic
#152144 #441521 #214415
tetradic
#152144 #441538 #443815 #154421
square
#152144 #441538 #443815 #154421
split-complementary
#152144 #442115 #384415
monochromatic
#070B17 #070B17 #152144 #233873 #324EA2

Accessibility & contrast

On white

15.76
#152144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152144
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152144#FFFFFF#000000##FFFFFF
##1521441.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#092143
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #152144;
/* rgb */ color: rgb(21, 33, 68);
/* oklch */ color: oklch(25.8% 0.068 267.3);
Tailwind
colors: {
  custom: {
    50: '#585b78',
    500: '#152144',
    950: '#000000',
  },
}
SCSS
$custom: #152144;
$custom-light: #585b78;
$custom-dark: #000000;
JSON
{
  "hex": "#152144",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 224.681,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25814,
    "c": 0.06775,
    "h": 267.3
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#152144
secondary
#7C6B39
accent
#B74CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #152144

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

Preview Lab → · Contrast checker → · Palette generator →

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