#154F74#154F74

#154F74 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.085 H 241.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#154F74
RGBrgb(21, 79, 116)
HSLhsl(203, 69%, 27%)
HSVhsv(203, 82%, 45%)
CMYKcmyk(81.9%, 31.9%, 0%, 54.5%)
CIE-LABlab(31.83, -4.30, -26.36)
CIE-LCHlch(31.83, 26.71, 260.74°)
OKLaboklab(41% -0.0401 -0.0747)
OKLCHoklch(41% 0.085 241.8)
XYZxyz(6.2564, 7.0116, 17.5432)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F74 #743A15
analogous
#15746A #154F74 #152074
triadic
#154F74 #74154F #4F7415
tetradic
#154F74 #6A1574 #743A15 #207415
square
#154F74 #6A1574 #743A15 #207415
split-complementary
#154F74 #741520 #746A15
monochromatic
#05121A #0C2C40 #154F74 #1E72A8 #2B95D9

Accessibility & contrast

On white

8.74
#154F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#154F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F74
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F74#FFFFFF#000000##FFFFFF
##154F741.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5076
Deuteranopia (green-blind)
#314773
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154f74;
/* rgb */ color: rgb(21, 79, 116);
/* oklch */ color: oklch(41.0% 0.085 241.8);
Tailwind
colors: {
  custom: {
    50: '#63809c',
    500: '#154f74',
    950: '#000000',
  },
}
SCSS
$custom: #154f74;
$custom-light: #63809c;
$custom-dark: #000000;
JSON
{
  "hex": "#154f74",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 116
  },
  "hsl": {
    "h": 203.368,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.41001,
    "c": 0.08478,
    "h": 241.8
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#154F74
secondary
#AA663B
accent
#803CEC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #154F74

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

Preview Lab → · Contrast checker → · Palette generator →

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