#154478#154478

#154478 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.102 H 253.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#154478
RGBrgb(21, 68, 120)
HSLhsl(212, 70%, 28%)
HSVhsv(212, 83%, 47%)
CMYKcmyk(82.5%, 43.3%, 0%, 52.9%)
CIE-LABlab(28.51, 4.61, -34.14)
CIE-LCHlch(28.51, 34.45, 277.68°)
OKLaboklab(38.47% -0.0283 -0.0977)
OKLCHoklch(38.47% 0.102 253.9)
XYZxyz(5.7653, 5.6490, 18.5522)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154478 #784915
analogous
#157678 #154478 #171578
triadic
#154478 #781544 #447815
tetradic
#154478 #781576 #784915 #157817
square
#154478 #781576 #784915 #157817
split-complementary
#154478 #781715 #767815
monochromatic
#050F1A #0C2644 #154478 #1E62AC #2D7FDA

Accessibility & contrast

On white

9.86
#154478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154478
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154478#FFFFFF#000000##FFFFFF
##1544781.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#193F77
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154478;
/* rgb */ color: rgb(21, 68, 120);
/* oklch */ color: oklch(38.5% 0.102 253.9);
Tailwind
colors: {
  custom: {
    50: '#64779f',
    500: '#154478',
    950: '#000000',
  },
}
SCSS
$custom: #154478;
$custom-light: #64779f;
$custom-dark: #000000;
JSON
{
  "hex": "#154478",
  "rgb": {
    "r": 21,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 211.515,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.10168,
    "h": 253.9
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#154478
secondary
#AE773B
accent
#983BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154478

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

Preview Lab → · Contrast checker → · Palette generator →

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