#153278#153278

#153278 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.125 H 263.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#153278
RGBrgb(21, 50, 120)
HSLhsl(222, 70%, 28%)
HSVhsv(222, 83%, 47%)
CMYKcmyk(82.5%, 58.3%, 0%, 52.9%)
CIE-LABlab(22.99, 17.27, -43.04)
CIE-LCHlch(22.99, 46.38, 291.86°)
OKLaboklab(34.23% -0.0132 -0.1242)
OKLCHoklch(34.23% 0.125 263.9)
XYZxyz(4.8388, 3.7961, 18.2434)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153278 #785B15
analogous
#156478 #153278 #291578
triadic
#153278 #781532 #327815
tetradic
#153278 #781564 #785B15 #157829
square
#153278 #781564 #785B15 #157829
split-complementary
#153278 #782915 #647815
monochromatic
#050B1A #0C1C44 #153278 #1E48AC #2D60DA

Accessibility & contrast

On white

11.94
#153278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#153278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153278
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153278#FFFFFF#000000##FFFFFF
##1532781.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #153278;
/* rgb */ color: rgb(21, 50, 120);
/* oklch */ color: oklch(34.2% 0.125 263.9);
Tailwind
colors: {
  custom: {
    50: '#6469a0',
    500: '#153278',
    950: '#000000',
  },
}
SCSS
$custom: #153278;
$custom-light: #6469a0;
$custom-dark: #000000;
JSON
{
  "hex": "#153278",
  "rgb": {
    "r": 21,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 222.424,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34229,
    "c": 0.12494,
    "h": 263.9
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#153278
secondary
#AE8C3B
accent
#B93BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #153278

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

Preview Lab → · Contrast checker → · Palette generator →

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