#153378#153378

#153378 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.124 H 263.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#153378
RGBrgb(21, 51, 120)
HSLhsl(222, 70%, 28%)
HSVhsv(222, 83%, 47%)
CMYKcmyk(82.5%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.28, 16.55, -42.56)
CIE-LCHlch(23.28, 45.67, 291.25°)
OKLaboklab(34.45% -0.0139 -0.1228)
OKLCHoklch(34.45% 0.124 263.5)
XYZxyz(4.8820, 3.8826, 18.2578)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153378 #785A15
analogous
#156578 #153378 #281578
triadic
#153378 #781533 #337815
tetradic
#153378 #781565 #785A15 #157828
square
#153378 #781565 #785A15 #157828
split-complementary
#153378 #782815 #657815
monochromatic
#050B1A #0C1D44 #153378 #1E49AC #2D62DA

Accessibility & contrast

On white

11.82
#153378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#153378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153378
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153378#FFFFFF#000000##FFFFFF
##1533781.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #153378;
/* rgb */ color: rgb(21, 51, 120);
/* oklch */ color: oklch(34.5% 0.124 263.5);
Tailwind
colors: {
  custom: {
    50: '#646aa0',
    500: '#153378',
    950: '#000000',
  },
}
SCSS
$custom: #153378;
$custom-light: #646aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#153378",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 221.818,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34451,
    "c": 0.12361,
    "h": 263.5
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#153378
secondary
#AE8B3B
accent
#B73BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #153378

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

Preview Lab → · Contrast checker → · Palette generator →

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