#154678#154678

#154678 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.0% C 0.099 H 252.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#154678
RGBrgb(21, 70, 120)
HSLhsl(210, 70%, 28%)
HSVhsv(210, 83%, 47%)
CMYKcmyk(82.5%, 41.7%, 0%, 52.9%)
CIE-LABlab(29.15, 3.25, -33.12)
CIE-LCHlch(29.15, 33.28, 275.60°)
OKLaboklab(38.96% -0.0301 -0.0946)
OKLCHoklch(38.96% 0.099 252.3)
XYZxyz(5.8883, 5.8951, 18.5932)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154678 #784715
analogous
#157778 #154678 #151578
triadic
#154678 #781546 #467815
tetradic
#154678 #781577 #784715 #157815
square
#154678 #781577 #784715 #157815
split-complementary
#154678 #781515 #777815
monochromatic
#050F1A #0C2844 #154678 #1E64AC #2D83DA

Accessibility & contrast

On white

9.64
#154678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#154678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154678
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154678#FFFFFF#000000##FFFFFF
##1546781.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7A
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154678;
/* rgb */ color: rgb(21, 70, 120);
/* oklch */ color: oklch(39.0% 0.099 252.3);
Tailwind
colors: {
  custom: {
    50: '#64799f',
    500: '#154678',
    950: '#000000',
  },
}
SCSS
$custom: #154678;
$custom-light: #64799f;
$custom-dark: #000000;
JSON
{
  "hex": "#154678",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 120
  },
  "hsl": {
    "h": 210.303,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.09933,
    "h": 252.3
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#154678
secondary
#AE753B
accent
#953BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154678

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

Preview Lab → · Contrast checker → · Palette generator →

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