#154379#154379

#154379 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.3% C 0.104 H 254.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#154379
RGBrgb(21, 67, 121)
HSLhsl(212, 70%, 28%)
HSVhsv(212, 83%, 47%)
CMYKcmyk(82.6%, 44.6%, 0%, 52.5%)
CIE-LABlab(28.26, 5.70, -35.17)
CIE-LCHlch(28.26, 35.63, 279.21°)
OKLaboklab(38.29% -0.0271 -0.1007)
OKLCHoklch(38.29% 0.104 254.9)
XYZxyz(5.7663, 5.5535, 18.8535)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154379 #794B15
analogous
#157579 #154379 #191579
triadic
#154379 #791543 #437915
tetradic
#154379 #791575 #794B15 #157919
square
#154379 #791575 #794B15 #157919
split-complementary
#154379 #791915 #757915
monochromatic
#050E1A #0C2645 #154379 #1E60AD #2E7DDB

Accessibility & contrast

On white

9.95
#154379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154379
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154379#FFFFFF#000000##FFFFFF
##1543791.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#153E78
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154379;
/* rgb */ color: rgb(21, 67, 121);
/* oklch */ color: oklch(38.3% 0.104 254.9);
Tailwind
colors: {
  custom: {
    50: '#6476a0',
    500: '#154379',
    950: '#000000',
  },
}
SCSS
$custom: #154379;
$custom-light: #6476a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154379",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 121
  },
  "hsl": {
    "h": 212.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.10432,
    "h": 254.9
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#154379
secondary
#AF7A3B
accent
#9B3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #154379

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

Preview Lab → · Contrast checker → · Palette generator →

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