#154479#154479

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

Color values

HEX#154479
RGBrgb(21, 68, 121)
HSLhsl(212, 70%, 28%)
HSVhsv(212, 83%, 47%)
CMYKcmyk(82.6%, 43.8%, 0%, 52.5%)
CIE-LABlab(28.57, 5.02, -34.66)
CIE-LCHlch(28.57, 35.02, 278.24°)
OKLaboklab(38.54% -0.028 -0.0992)
OKLCHoklch(38.54% 0.103 254.2)
XYZxyz(5.8263, 5.6735, 18.8735)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154479 #794A15
analogous
#157679 #154479 #181579
triadic
#154479 #791544 #447915
tetradic
#154479 #791576 #794A15 #157918
square
#154479 #791576 #794A15 #157918
split-complementary
#154479 #791815 #767915
monochromatic
#050F1A #0C2745 #154479 #1E61AD #2E7FDB

Accessibility & contrast

On white

9.84
#154479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154479
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154479#FFFFFF#000000##FFFFFF
##1544791.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#183F78
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154479;
/* rgb */ color: rgb(21, 68, 121);
/* oklch */ color: oklch(38.5% 0.103 254.2);
Tailwind
colors: {
  custom: {
    50: '#6477a0',
    500: '#154479',
    950: '#000000',
  },
}
SCSS
$custom: #154479;
$custom-light: #6477a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154479",
  "rgb": {
    "r": 21,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 211.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38537,
    "c": 0.1031,
    "h": 254.2
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#154479
secondary
#AF783B
accent
#993BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #154479

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

Preview Lab → · Contrast checker → · Palette generator →

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