#154C79#154C79

#154C79 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.5% C 0.094 H 247.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#154C79
RGBrgb(21, 76, 121)
HSLhsl(207, 70%, 28%)
HSVhsv(207, 83%, 47%)
CMYKcmyk(82.6%, 37.2%, 0%, 52.5%)
CIE-LABlab(31.13, -0.34, -30.59)
CIE-LCHlch(31.13, 30.59, 269.36°)
OKLaboklab(40.54% -0.0355 -0.0871)
OKLCHoklch(40.54% 0.094 247.8)
XYZxyz(6.3436, 6.7080, 19.0459)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C79 #794215
analogous
#157974 #154C79 #151A79
triadic
#154C79 #79154C #4C7915
tetradic
#154C79 #741579 #794215 #1A7915
square
#154C79 #741579 #794215 #1A7915
split-complementary
#154C79 #79151A #797415
monochromatic
#05101A #0C2B45 #154C79 #1E6DAD #2E8DDB

Accessibility & contrast

On white

8.97
#154C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#154C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C79
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C79#FFFFFF#000000##FFFFFF
##154C791.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#284578
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154c79;
/* rgb */ color: rgb(21, 76, 121);
/* oklch */ color: oklch(40.5% 0.094 247.8);
Tailwind
colors: {
  custom: {
    50: '#647da0',
    500: '#154c79',
    950: '#000000',
  },
}
SCSS
$custom: #154c79;
$custom-light: #647da0;
$custom-dark: #000000;
JSON
{
  "hex": "#154c79",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 121
  },
  "hsl": {
    "h": 207,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.09408,
    "h": 247.8
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#154C79
secondary
#AF6F3B
accent
#8B3BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154C79

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

Preview Lab → · Contrast checker → · Palette generator →

#154C79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva