#153871#153871

#153871 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.107 H 259.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#153871
RGBrgb(21, 56, 113)
HSLhsl(217, 69%, 26%)
HSVhsv(217, 81%, 44%)
CMYKcmyk(81.4%, 50.4%, 0%, 55.7%)
CIE-LABlab(24.26, 10.04, -36.52)
CIE-LCHlch(24.26, 37.88, 285.38°)
OKLaboklab(35.02% -0.0189 -0.1049)
OKLCHoklch(35.02% 0.107 259.8)
XYZxyz(4.7030, 4.1795, 16.1784)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153871 #714E15
analogous
#156671 #153871 #201571
triadic
#153871 #711538 #387115
tetradic
#153871 #711566 #714E15 #157120
square
#153871 #711566 #714E15 #157120
split-complementary
#153871 #712015 #667115
monochromatic
#050D1A #0B1E3D #153871 #1F52A5 #296BD7

Accessibility & contrast

On white

11.44
#153871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#153871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153871
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153871#FFFFFF#000000##FFFFFF
##1538711.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #153871;
/* rgb */ color: rgb(21, 56, 113);
/* oklch */ color: oklch(35.0% 0.107 259.8);
Tailwind
colors: {
  custom: {
    50: '#626e9a',
    500: '#153871',
    950: '#000000',
  },
}
SCSS
$custom: #153871;
$custom-light: #626e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#153871",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 217.174,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.10664,
    "h": 259.8
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#153871
secondary
#A77E3B
accent
#A93CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #153871

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

Preview Lab → · Contrast checker → · Palette generator →

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