#154D8C#154D8C

#154D8C is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.119 H 254.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#154D8C
RGBrgb(21, 77, 140)
HSLhsl(212, 74%, 32%)
HSVhsv(212, 85%, 55%)
CMYKcmyk(85%, 45%, 0%, 45.1%)
CIE-LABlab(32.61, 6.77, -39.98)
CIE-LCHlch(32.61, 40.55, 279.61°)
OKLaboklab(42.07% -0.0316 -0.1147)
OKLCHoklch(42.07% 0.119 254.6)
XYZxyz(7.6950, 7.3597, 25.8209)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D8C #8C5415
analogous
#15898C #154D8C #19158C
triadic
#154D8C #8C154D #4D8C15
tetradic
#154D8C #8C1589 #8C5415 #158C19
square
#154D8C #8C1589 #8C5415 #158C19
split-complementary
#154D8C #8C1915 #898C15
monochromatic
#051222 #0D3057 #154D8C #1D6AC1 #3A89E1

Accessibility & contrast

On white

8.49
#154D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#154D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D8C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D8C#FFFFFF#000000##FFFFFF
##154D8C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #154d8c;
/* rgb */ color: rgb(21, 77, 140);
/* oklch */ color: oklch(42.1% 0.119 254.6);
Tailwind
colors: {
  custom: {
    50: '#687eae',
    500: '#154d8c',
    950: '#000000',
  },
}
SCSS
$custom: #154d8c;
$custom-light: #687eae;
$custom-dark: #000000;
JSON
{
  "hex": "#154d8c",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 140
  },
  "hsl": {
    "h": 211.765,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.11893,
    "h": 254.6
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#154D8C
secondary
#C0823D
accent
#9937F1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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