#154878#154878

#154878 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.5% C 0.097 H 250.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#154878
RGBrgb(21, 72, 120)
HSLhsl(209, 70%, 28%)
HSVhsv(209, 83%, 47%)
CMYKcmyk(82.5%, 40%, 0%, 52.9%)
CIE-LABlab(29.79, 1.90, -32.10)
CIE-LCHlch(29.79, 32.16, 273.39°)
OKLaboklab(39.46% -0.032 -0.0916)
OKLCHoklch(39.46% 0.097 250.7)
XYZxyz(6.0155, 6.1495, 18.6356)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154878 #784515
analogous
#157877 #154878 #151678
triadic
#154878 #781548 #487815
tetradic
#154878 #771578 #784515 #167815
square
#154878 #771578 #784515 #167815
split-complementary
#154878 #781516 #787715
monochromatic
#05101A #0C2944 #154878 #1E67AC #2D86DA

Accessibility & contrast

On white

9.42
#154878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#154878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154878
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154878#FFFFFF#000000##FFFFFF
##1548781.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154878;
/* rgb */ color: rgb(21, 72, 120);
/* oklch */ color: oklch(39.5% 0.097 250.7);
Tailwind
colors: {
  custom: {
    50: '#647a9f',
    500: '#154878',
    950: '#000000',
  },
}
SCSS
$custom: #154878;
$custom-light: #647a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#154878",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 209.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.09704,
    "h": 250.7
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#154878
secondary
#AE733B
accent
#913BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154878

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

Preview Lab → · Contrast checker → · Palette generator →

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