#153878#153878

#153878 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.117 H 261.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#153878
RGBrgb(21, 56, 120)
HSLhsl(219, 70%, 28%)
HSVhsv(219, 83%, 47%)
CMYKcmyk(82.5%, 53.3%, 0%, 52.9%)
CIE-LABlab(24.78, 12.99, -40.14)
CIE-LCHlch(24.78, 42.19, 287.93°)
OKLaboklab(35.59% -0.0178 -0.1156)
OKLCHoklch(35.59% 0.117 261.2)
XYZxyz(5.1124, 4.3432, 18.3345)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153878 #785515
analogous
#156978 #153878 #241578
triadic
#153878 #781538 #387815
tetradic
#153878 #781569 #785515 #157824
square
#153878 #781569 #785515 #157824
split-complementary
#153878 #782415 #697815
monochromatic
#050C1A #0C2044 #153878 #1E50AC #2D6ADA

Accessibility & contrast

On white

11.24
#153878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #153878
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153878#FFFFFF#000000##FFFFFF
##1538781.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #153878;
/* rgb */ color: rgb(21, 56, 120);
/* oklch */ color: oklch(35.6% 0.117 261.2);
Tailwind
colors: {
  custom: {
    50: '#646e9f',
    500: '#153878',
    950: '#000000',
  },
}
SCSS
$custom: #153878;
$custom-light: #646e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#153878",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 218.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.11696,
    "h": 261.2
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#153878
secondary
#AE853B
accent
#AE3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #153878

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

Preview Lab → · Contrast checker → · Palette generator →

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