#154A79#154A79

#154A79 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.096 H 249.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#154A79
RGBrgb(21, 74, 121)
HSLhsl(208, 70%, 28%)
HSVhsv(208, 83%, 47%)
CMYKcmyk(82.6%, 38.8%, 0%, 52.5%)
CIE-LABlab(30.49, 0.98, -31.61)
CIE-LCHlch(30.49, 31.63, 271.77°)
OKLaboklab(40.03% -0.0336 -0.0901)
OKLCHoklch(40.03% 0.096 249.5)
XYZxyz(6.2079, 6.4367, 19.0007)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A79 #794415
analogous
#157976 #154A79 #151879
triadic
#154A79 #79154A #4A7915
tetradic
#154A79 #761579 #794415 #187915
square
#154A79 #761579 #794415 #187915
split-complementary
#154A79 #791518 #797615
monochromatic
#05101A #0C2A45 #154A79 #1E6AAD #2E89DB

Accessibility & contrast

On white

9.18
#154A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#154A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A79
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A79#FFFFFF#000000##FFFFFF
##154A791.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154a79;
/* rgb */ color: rgb(21, 74, 121);
/* oklch */ color: oklch(40.0% 0.096 249.5);
Tailwind
colors: {
  custom: {
    50: '#647ca0',
    500: '#154a79',
    950: '#000000',
  },
}
SCSS
$custom: #154a79;
$custom-light: #647ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#154a79",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 208.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.09621,
    "h": 249.5
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#154A79
secondary
#AF713B
accent
#8F3BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154A79

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

Preview Lab → · Contrast checker → · Palette generator →

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