#154778#154778

#154778 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.2% C 0.098 H 251.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#154778
RGBrgb(21, 71, 120)
HSLhsl(210, 70%, 28%)
HSVhsv(210, 83%, 47%)
CMYKcmyk(82.5%, 40.8%, 0%, 52.9%)
CIE-LABlab(29.47, 2.57, -32.61)
CIE-LCHlch(29.47, 32.71, 274.51°)
OKLaboklab(39.21% -0.031 -0.0931)
OKLCHoklch(39.21% 0.098 251.6)
XYZxyz(5.9514, 6.0213, 18.6142)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154778 #784615
analogous
#157877 #154778 #151578
triadic
#154778 #781547 #477815
tetradic
#154778 #771578 #784615 #157815
square
#154778 #771578 #784615 #157815
split-complementary
#154778 #781515 #787715
monochromatic
#050F1A #0C2844 #154778 #1E66AC #2D85DA

Accessibility & contrast

On white

9.53
#154778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#154778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154778
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154778#FFFFFF#000000##FFFFFF
##1547781.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#204177
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154778;
/* rgb */ color: rgb(21, 71, 120);
/* oklch */ color: oklch(39.2% 0.098 251.6);
Tailwind
colors: {
  custom: {
    50: '#64799f',
    500: '#154778',
    950: '#000000',
  },
}
SCSS
$custom: #154778;
$custom-light: #64799f;
$custom-dark: #000000;
JSON
{
  "hex": "#154778",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 209.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39213,
    "c": 0.09817,
    "h": 251.6
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#154778
secondary
#AE743B
accent
#933BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154778

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

Preview Lab → · Contrast checker → · Palette generator →

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