#153879#153879

#153879 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.118 H 261.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#153879
RGBrgb(21, 56, 121)
HSLhsl(219, 70%, 28%)
HSVhsv(219, 83%, 47%)
CMYKcmyk(82.6%, 53.7%, 0%, 52.5%)
CIE-LABlab(24.85, 13.41, -40.65)
CIE-LCHlch(24.85, 42.80, 288.25°)
OKLaboklab(35.67% -0.0177 -0.1171)
OKLCHoklch(35.67% 0.118 261.4)
XYZxyz(5.1734, 4.3676, 18.6558)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153879 #795615
analogous
#156A79 #153879 #241579
triadic
#153879 #791538 #387915
tetradic
#153879 #79156A #795615 #157924
square
#153879 #79156A #795615 #157924
split-complementary
#153879 #792415 #6A7915
monochromatic
#050C1A #0C2045 #153879 #1E50AD #2E6ADB

Accessibility & contrast

On white

11.21
#153879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#153879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153879
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153879#FFFFFF#000000##FFFFFF
##1538791.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #153879;
/* rgb */ color: rgb(21, 56, 121);
/* oklch */ color: oklch(35.7% 0.118 261.4);
Tailwind
colors: {
  custom: {
    50: '#646ea0',
    500: '#153879',
    950: '#000000',
  },
}
SCSS
$custom: #153879;
$custom-light: #646ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#153879",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 219,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35669,
    "c": 0.11842,
    "h": 261.4
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#153879
secondary
#AF863B
accent
#AF3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #153879

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

Preview Lab → · Contrast checker → · Palette generator →

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