#154D8D#154D8D

#154D8D is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.120 H 254.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#154D8D
RGBrgb(21, 77, 141)
HSLhsl(212, 74%, 32%)
HSVhsv(212, 85%, 55%)
CMYKcmyk(85.1%, 45.4%, 0%, 44.7%)
CIE-LABlab(32.68, 7.18, -40.49)
CIE-LCHlch(32.68, 41.12, 280.05°)
OKLaboklab(42.14% -0.0314 -0.1161)
OKLCHoklch(42.14% 0.12 254.9)
XYZxyz(7.7691, 7.3893, 26.2109)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D8D #8D5515
analogous
#15898D #154D8D #19158D
triadic
#154D8D #8D154D #4D8D15
tetradic
#154D8D #8D1589 #8D5515 #158D19
square
#154D8D #8D1589 #8D5515 #158D19
split-complementary
#154D8D #8D1915 #898D15
monochromatic
#051322 #0D3058 #154D8D #1D6AC2 #3B89E2

Accessibility & contrast

On white

8.47
#154D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#154D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D8D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D8D#FFFFFF#000000##FFFFFF
##154D8D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #154d8d;
/* rgb */ color: rgb(21, 77, 141);
/* oklch */ color: oklch(42.1% 0.120 254.9);
Tailwind
colors: {
  custom: {
    50: '#697eaf',
    500: '#154d8d',
    950: '#000000',
  },
}
SCSS
$custom: #154d8d;
$custom-light: #697eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#154d8d",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 212,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42143,
    "c": 0.12031,
    "h": 254.9
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#154D8D
secondary
#C1833D
accent
#9A37F1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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