#153771#153771

#153771 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.108 H 260.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#153771
RGBrgb(21, 55, 113)
HSLhsl(218, 69%, 26%)
HSVhsv(218, 81%, 44%)
CMYKcmyk(81.4%, 51.3%, 0%, 55.7%)
CIE-LABlab(23.95, 10.76, -37.02)
CIE-LCHlch(23.95, 38.55, 286.20°)
OKLaboklab(34.78% -0.018 -0.1064)
OKLCHoklch(34.78% 0.108 260.4)
XYZxyz(4.6550, 4.0835, 16.1624)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153771 #714F15
analogous
#156571 #153771 #211571
triadic
#153771 #711537 #377115
tetradic
#153771 #711565 #714F15 #157121
square
#153771 #711565 #714F15 #157121
split-complementary
#153771 #712115 #657115
monochromatic
#050D1A #0B1E3D #153771 #1F50A5 #2969D7

Accessibility & contrast

On white

11.56
#153771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#153771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153771
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153771#FFFFFF#000000##FFFFFF
##1537711.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #153771;
/* rgb */ color: rgb(21, 55, 113);
/* oklch */ color: oklch(34.8% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#626d9a',
    500: '#153771',
    950: '#000000',
  },
}
SCSS
$custom: #153771;
$custom-light: #626d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#153771",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 217.826,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.10796,
    "h": 260.4
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#153771
secondary
#A77F3B
accent
#AB3CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #153771

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

Preview Lab → · Contrast checker → · Palette generator →

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