#154978#154978

#154978 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.7% C 0.096 H 249.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#154978
RGBrgb(21, 73, 120)
HSLhsl(208, 70%, 28%)
HSVhsv(208, 83%, 47%)
CMYKcmyk(82.5%, 39.2%, 0%, 52.9%)
CIE-LABlab(30.11, 1.23, -31.59)
CIE-LCHlch(30.11, 31.61, 272.24°)
OKLaboklab(39.72% -0.0329 -0.0901)
OKLCHoklch(39.72% 0.096 249.9)
XYZxyz(6.0807, 6.2798, 18.6573)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154978 #784415
analogous
#157876 #154978 #151778
triadic
#154978 #781549 #497815
tetradic
#154978 #761578 #784415 #177815
square
#154978 #761578 #784415 #177815
split-complementary
#154978 #781517 #787615
monochromatic
#05101A #0C2944 #154978 #1E69AC #2D88DA

Accessibility & contrast

On white

9.31
#154978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#154978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154978
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154978#FFFFFF#000000##FFFFFF
##1549781.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7A
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154978;
/* rgb */ color: rgb(21, 73, 120);
/* oklch */ color: oklch(39.7% 0.096 249.9);
Tailwind
colors: {
  custom: {
    50: '#647b9f',
    500: '#154978',
    950: '#000000',
  },
}
SCSS
$custom: #154978;
$custom-light: #647b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#154978",
  "rgb": {
    "r": 21,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 208.485,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.09594,
    "h": 249.9
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#154978
secondary
#AE723B
accent
#8F3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154978

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

Preview Lab → · Contrast checker → · Palette generator →

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