#153778#153778

#153778 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.118 H 261.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#153778
RGBrgb(21, 55, 120)
HSLhsl(219, 70%, 28%)
HSVhsv(219, 83%, 47%)
CMYKcmyk(82.5%, 54.2%, 0%, 52.9%)
CIE-LABlab(24.47, 13.70, -40.63)
CIE-LCHlch(24.47, 42.88, 288.63°)
OKLaboklab(35.36% -0.017 -0.117)
OKLCHoklch(35.36% 0.118 261.7)
XYZxyz(5.0644, 4.2473, 18.3185)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153778 #785615
analogous
#156878 #153778 #241578
triadic
#153778 #781537 #377815
tetradic
#153778 #781568 #785615 #157824
square
#153778 #781568 #785615 #157824
split-complementary
#153778 #782415 #687815
monochromatic
#050C1A #0C1F44 #153778 #1E4FAC #2D69DA

Accessibility & contrast

On white

11.35
#153778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#153778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153778
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153778#FFFFFF#000000##FFFFFF
##1537781.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #153778;
/* rgb */ color: rgb(21, 55, 120);
/* oklch */ color: oklch(35.4% 0.118 261.7);
Tailwind
colors: {
  custom: {
    50: '#646d9f',
    500: '#153778',
    950: '#000000',
  },
}
SCSS
$custom: #153778;
$custom-light: #646d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#153778",
  "rgb": {
    "r": 21,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 219.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.11829,
    "h": 261.7
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#153778
secondary
#AE863B
accent
#B03BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #153778

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

Preview Lab → · Contrast checker → · Palette generator →

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