#153078#153078

#153078 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.128 H 264.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#153078
RGBrgb(21, 48, 120)
HSLhsl(224, 70%, 28%)
HSVhsv(224, 83%, 47%)
CMYKcmyk(82.5%, 60%, 0%, 52.9%)
CIE-LABlab(22.40, 18.70, -43.99)
CIE-LCHlch(22.40, 47.80, 293.03°)
OKLaboklab(33.79% -0.0118 -0.1271)
OKLCHoklch(33.79% 0.128 264.7)
XYZxyz(4.7552, 3.6288, 18.2155)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153078 #785D15
analogous
#156278 #153078 #2B1578
triadic
#153078 #781530 #307815
tetradic
#153078 #781562 #785D15 #15782B
square
#153078 #781562 #785D15 #15782B
split-complementary
#153078 #782B15 #627815
monochromatic
#050A1A #0C1B44 #153078 #1E45AC #2D5CDA

Accessibility & contrast

On white

12.17
#153078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#153078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153078
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153078#FFFFFF#000000##FFFFFF
##1530781.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #153078;
/* rgb */ color: rgb(21, 48, 120);
/* oklch */ color: oklch(33.8% 0.128 264.7);
Tailwind
colors: {
  custom: {
    50: '#6567a0',
    500: '#153078',
    950: '#000000',
  },
}
SCSS
$custom: #153078;
$custom-light: #6567a0;
$custom-dark: #000000;
JSON
{
  "hex": "#153078",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 223.636,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.1276,
    "h": 264.7
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#153078
secondary
#AE8E3B
accent
#BC3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #153078

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

Preview Lab → · Contrast checker → · Palette generator →

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