#154F8F#154F8F

#154F8F is a dark, vivid cyan. Relative luminance 0.077; OKLCH L 42.8% C 0.121 H 254.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#154F8F
RGBrgb(21, 79, 143)
HSLhsl(211, 74%, 32%)
HSVhsv(211, 85%, 56%)
CMYKcmyk(85.3%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.42, 6.66, -40.52)
CIE-LCHlch(33.42, 41.06, 279.33°)
OKLaboklab(42.76% -0.0326 -0.1162)
OKLCHoklch(42.76% 0.121 254.3)
XYZxyz(8.0613, 7.7336, 27.0491)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F8F #8F5515
analogous
#158C8F #154F8F #18158F
triadic
#154F8F #8F154F #4F8F15
tetradic
#154F8F #8F158C #8F5515 #158F18
square
#154F8F #8F158C #8F5515 #158F18
split-complementary
#154F8F #8F1815 #8C8F15
monochromatic
#051424 #0D325A #154F8F #1D6CC4 #3C8BE2

Accessibility & contrast

On white

8.24
#154F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#154F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F8F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F8F#FFFFFF#000000##FFFFFF
##154F8F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154f8f;
/* rgb */ color: rgb(21, 79, 143);
/* oklch */ color: oklch(42.8% 0.121 254.3);
Tailwind
colors: {
  custom: {
    50: '#697fb0',
    500: '#154f8f',
    950: '#000000',
  },
}
SCSS
$custom: #154f8f;
$custom-light: #697fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#154f8f",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 211.475,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.12067,
    "h": 254.3
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#154F8F
secondary
#C2833E
accent
#9837F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #154F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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