#154579#154579

#154579 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.8% C 0.102 H 253.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#154579
RGBrgb(21, 69, 121)
HSLhsl(211, 70%, 28%)
HSVhsv(211, 83%, 47%)
CMYKcmyk(82.6%, 43%, 0%, 52.5%)
CIE-LABlab(28.89, 4.34, -34.16)
CIE-LCHlch(28.89, 34.43, 277.24°)
OKLaboklab(38.78% -0.0289 -0.0977)
OKLCHoklch(38.78% 0.102 253.5)
XYZxyz(5.8873, 5.7954, 18.8938)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154579 #794915
analogous
#157779 #154579 #171579
triadic
#154579 #791545 #457915
tetradic
#154579 #791577 #794915 #157917
square
#154579 #791577 #794915 #157917
split-complementary
#154579 #791715 #777915
monochromatic
#050F1A #0C2745 #154579 #1E63AD #2E81DB

Accessibility & contrast

On white

9.73
#154579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154579
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154579#FFFFFF#000000##FFFFFF
##1545791.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#1A4078
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154579;
/* rgb */ color: rgb(21, 69, 121);
/* oklch */ color: oklch(38.8% 0.102 253.5);
Tailwind
colors: {
  custom: {
    50: '#6478a0',
    500: '#154579',
    950: '#000000',
  },
}
SCSS
$custom: #154579;
$custom-light: #6478a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154579",
  "rgb": {
    "r": 21,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 211.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.10191,
    "h": 253.5
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#154579
secondary
#AF773B
accent
#973BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #154579

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

Preview Lab → · Contrast checker → · Palette generator →

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