#153971#153971

#153971 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.105 H 259.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#153971
RGBrgb(21, 57, 113)
HSLhsl(217, 69%, 26%)
HSVhsv(217, 81%, 44%)
CMYKcmyk(81.4%, 49.6%, 0%, 55.7%)
CIE-LABlab(24.57, 9.33, -36.02)
CIE-LCHlch(24.57, 37.21, 284.53°)
OKLaboklab(35.26% -0.0198 -0.1034)
OKLCHoklch(35.26% 0.105 259.2)
XYZxyz(4.7519, 4.2774, 16.1948)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153971 #714D15
analogous
#156771 #153971 #1F1571
triadic
#153971 #711539 #397115
tetradic
#153971 #711567 #714D15 #15711F
square
#153971 #711567 #714D15 #15711F
split-complementary
#153971 #711F15 #677115
monochromatic
#050D1A #0B1F3D #153971 #1F53A5 #296DD7

Accessibility & contrast

On white

11.32
#153971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#153971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153971
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153971#FFFFFF#000000##FFFFFF
##1539711.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#013670
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #153971;
/* rgb */ color: rgb(21, 57, 113);
/* oklch */ color: oklch(35.3% 0.105 259.2);
Tailwind
colors: {
  custom: {
    50: '#626e9a',
    500: '#153971',
    950: '#000000',
  },
}
SCSS
$custom: #153971;
$custom-light: #626e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#153971",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 216.522,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35263,
    "c": 0.10533,
    "h": 259.2
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#153971
secondary
#A77D3B
accent
#A73CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #153971

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

Preview Lab → · Contrast checker → · Palette generator →

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