#153371#153371

#153371 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.113 H 262.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#153371
RGBrgb(21, 51, 113)
HSLhsl(220, 69%, 26%)
HSVhsv(220, 81%, 44%)
CMYKcmyk(81.4%, 54.9%, 0%, 55.7%)
CIE-LABlab(22.72, 13.62, -39.01)
CIE-LCHlch(22.72, 41.32, 289.25°)
OKLaboklab(33.85% -0.0147 -0.1124)
OKLCHoklch(33.85% 0.113 262.6)
XYZxyz(4.4727, 3.7188, 16.1017)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153371 #715315
analogous
#156171 #153371 #251571
triadic
#153371 #711533 #337115
tetradic
#153371 #711561 #715315 #157125
square
#153371 #711561 #715315 #157125
split-complementary
#153371 #712515 #617115
monochromatic
#050C1A #0B1C3D #153371 #1F4AA5 #2962D7

Accessibility & contrast

On white

12.04
#153371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#153371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153371
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153371#FFFFFF#000000##FFFFFF
##1533711.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B73
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153371;
/* rgb */ color: rgb(21, 51, 113);
/* oklch */ color: oklch(33.8% 0.113 262.6);
Tailwind
colors: {
  custom: {
    50: '#626a9a',
    500: '#153371',
    950: '#000000',
  },
}
SCSS
$custom: #153371;
$custom-light: #626a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#153371",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 220.435,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.11331,
    "h": 262.6
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#153371
secondary
#A7843B
accent
#B23CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #153371

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

Preview Lab → · Contrast checker → · Palette generator →

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