#153178#153178

#153178 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.126 H 264.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#153178
RGBrgb(21, 49, 120)
HSLhsl(223, 70%, 28%)
HSVhsv(223, 83%, 47%)
CMYKcmyk(82.5%, 59.2%, 0%, 52.9%)
CIE-LABlab(22.69, 17.99, -43.52)
CIE-LCHlch(22.69, 47.09, 292.46°)
OKLaboklab(34.01% -0.0125 -0.1257)
OKLCHoklch(34.01% 0.126 264.3)
XYZxyz(4.7965, 3.7116, 18.2293)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153178 #785C15
analogous
#156378 #153178 #2A1578
triadic
#153178 #781531 #317815
tetradic
#153178 #781563 #785C15 #15782A
square
#153178 #781563 #785C15 #15782A
split-complementary
#153178 #782A15 #637815
monochromatic
#050B1A #0C1C44 #153178 #1E46AC #2D5EDA

Accessibility & contrast

On white

12.05
#153178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #153178
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153178#FFFFFF#000000##FFFFFF
##1531781.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153178;
/* rgb */ color: rgb(21, 49, 120);
/* oklch */ color: oklch(34.0% 0.126 264.3);
Tailwind
colors: {
  custom: {
    50: '#6468a0',
    500: '#153178',
    950: '#000000',
  },
}
SCSS
$custom: #153178;
$custom-light: #6468a0;
$custom-dark: #000000;
JSON
{
  "hex": "#153178",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 223.03,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.12628,
    "h": 264.3
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#153178
secondary
#AE8D3B
accent
#BB3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #153178

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

Preview Lab → · Contrast checker → · Palette generator →

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