#154378#154378

#154378 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.2% C 0.103 H 254.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#154378
RGBrgb(21, 67, 120)
HSLhsl(212, 70%, 28%)
HSVhsv(212, 83%, 47%)
CMYKcmyk(82.5%, 44.2%, 0%, 52.9%)
CIE-LABlab(28.19, 5.29, -34.64)
CIE-LCHlch(28.19, 35.05, 278.68°)
OKLaboklab(38.22% -0.0273 -0.0992)
OKLCHoklch(38.22% 0.103 254.6)
XYZxyz(5.7053, 5.5291, 18.5322)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154378 #784A15
analogous
#157578 #154378 #181578
triadic
#154378 #781543 #437815
tetradic
#154378 #781575 #784A15 #157818
square
#154378 #781575 #784A15 #157818
split-complementary
#154378 #781815 #757815
monochromatic
#050F1A #0C2644 #154378 #1E60AC #2D7EDA

Accessibility & contrast

On white

9.97
#154378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154378
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154378#FFFFFF#000000##FFFFFF
##1543781.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29477A
Deuteranopia (green-blind)
#163E77
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154378;
/* rgb */ color: rgb(21, 67, 120);
/* oklch */ color: oklch(38.2% 0.103 254.6);
Tailwind
colors: {
  custom: {
    50: '#64769f',
    500: '#154378',
    950: '#000000',
  },
}
SCSS
$custom: #154378;
$custom-light: #64769f;
$custom-dark: #000000;
JSON
{
  "hex": "#154378",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 212.121,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3822,
    "c": 0.10288,
    "h": 254.6
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#154378
secondary
#AE783B
accent
#9A3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154378

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

Preview Lab → · Contrast checker → · Palette generator →

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