#153978#153978

#153978 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.116 H 260.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#153978
RGBrgb(21, 57, 120)
HSLhsl(218, 70%, 28%)
HSVhsv(218, 83%, 47%)
CMYKcmyk(82.5%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.08, 12.28, -39.65)
CIE-LCHlch(25.08, 41.51, 287.20°)
OKLaboklab(35.82% -0.0187 -0.1141)
OKLCHoklch(35.82% 0.116 260.7)
XYZxyz(5.1613, 4.4411, 18.3509)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153978 #785415
analogous
#156A78 #153978 #231578
triadic
#153978 #781539 #397815
tetradic
#153978 #78156A #785415 #157823
square
#153978 #78156A #785415 #157823
split-complementary
#153978 #782315 #6A7815
monochromatic
#050C1A #0C2044 #153978 #1E52AC #2D6CDA

Accessibility & contrast

On white

11.12
#153978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#153978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153978
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153978#FFFFFF#000000##FFFFFF
##1539781.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #153978;
/* rgb */ color: rgb(21, 57, 120);
/* oklch */ color: oklch(35.8% 0.116 260.7);
Tailwind
colors: {
  custom: {
    50: '#646e9f',
    500: '#153978',
    950: '#000000',
  },
}
SCSS
$custom: #153978;
$custom-light: #646e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#153978",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 218.182,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.11564,
    "h": 260.7
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#153978
secondary
#AE843B
accent
#AC3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #153978

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

Preview Lab → · Contrast checker → · Palette generator →

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