#154F79#154F79

#154F79 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.091 H 245.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#154F79
RGBrgb(21, 79, 121)
HSLhsl(205, 70%, 28%)
HSVhsv(205, 83%, 47%)
CMYKcmyk(82.6%, 34.7%, 0%, 52.5%)
CIE-LABlab(32.10, -2.30, -29.05)
CIE-LCHlch(32.10, 29.14, 265.48°)
OKLaboklab(41.3% -0.0384 -0.0826)
OKLCHoklch(41.3% 0.091 245)
XYZxyz(6.5551, 7.1311, 19.1164)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F79 #793F15
analogous
#157971 #154F79 #151D79
triadic
#154F79 #79154F #4F7915
tetradic
#154F79 #711579 #793F15 #1D7915
square
#154F79 #711579 #793F15 #1D7915
split-complementary
#154F79 #79151D #797115
monochromatic
#05111A #0C2D45 #154F79 #1E71AD #2E92DB

Accessibility & contrast

On white

8.65
#154F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#154F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F79
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F79#FFFFFF#000000##FFFFFF
##154F791.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517B
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154f79;
/* rgb */ color: rgb(21, 79, 121);
/* oklch */ color: oklch(41.3% 0.091 245.0);
Tailwind
colors: {
  custom: {
    50: '#6480a0',
    500: '#154f79',
    950: '#000000',
  },
}
SCSS
$custom: #154f79;
$custom-light: #6480a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154f79",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 205.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.09108,
    "h": 245
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#154F79
secondary
#AF6C3B
accent
#863BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #154F79

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

Preview Lab → · Contrast checker → · Palette generator →

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