#154C8F#154C8F

#154C8F is a dark, vivid cyan. Relative luminance 0.073; OKLCH L 42.1% C 0.124 H 256.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#154C8F
RGBrgb(21, 76, 143)
HSLhsl(213, 74%, 32%)
HSVhsv(213, 85%, 56%)
CMYKcmyk(85.3%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.50, 8.68, -41.99)
CIE-LCHlch(32.50, 42.88, 281.67°)
OKLaboklab(42.05% -0.0301 -0.1206)
OKLCHoklch(42.05% 0.124 256)
XYZxyz(7.8498, 7.3105, 26.9786)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C8F #8F5815
analogous
#15898F #154C8F #1B158F
triadic
#154C8F #8F154C #4C8F15
tetradic
#154C8F #8F1589 #8F5815 #158F1B
square
#154C8F #8F1589 #8F5815 #158F1B
split-complementary
#154C8F #8F1B15 #898F15
monochromatic
#051324 #0D305A #154C8F #1D68C4 #3C87E2

Accessibility & contrast

On white

8.53
#154C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#154C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C8F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C8F#FFFFFF#000000##FFFFFF
##154C8F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#08478E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154c8f;
/* rgb */ color: rgb(21, 76, 143);
/* oklch */ color: oklch(42.1% 0.124 256.0);
Tailwind
colors: {
  custom: {
    50: '#697db0',
    500: '#154c8f',
    950: '#000000',
  },
}
SCSS
$custom: #154c8f;
$custom-light: #697db0;
$custom-dark: #000000;
JSON
{
  "hex": "#154c8f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 212.951,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42052,
    "c": 0.12431,
    "h": 256
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#154C8F
secondary
#C2863E
accent
#9D37F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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