#154A8D#154A8D

#154A8D is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.124 H 256.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#154A8D
RGBrgb(21, 74, 141)
HSLhsl(214, 74%, 32%)
HSVhsv(214, 85%, 55%)
CMYKcmyk(85.1%, 47.5%, 0%, 44.7%)
CIE-LABlab(31.76, 9.21, -41.96)
CIE-LCHlch(31.76, 42.96, 282.38°)
OKLaboklab(41.43% -0.0289 -0.1206)
OKLCHoklch(41.43% 0.124 256.5)
XYZxyz(7.5640, 6.9791, 26.1426)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A8D #8D5815
analogous
#15868D #154A8D #1C158D
triadic
#154A8D #8D154A #4A8D15
tetradic
#154A8D #8D1586 #8D5815 #158D1C
square
#154A8D #8D1586 #8D5815 #158D1C
split-complementary
#154A8D #8D1C15 #868D15
monochromatic
#051222 #0D2E58 #154A8D #1D66C2 #3B84E2

Accessibility & contrast

On white

8.76
#154A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A8D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A8D#FFFFFF#000000##FFFFFF
##154A8D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154a8d;
/* rgb */ color: rgb(21, 74, 141);
/* oklch */ color: oklch(41.4% 0.124 256.5);
Tailwind
colors: {
  custom: {
    50: '#697baf',
    500: '#154a8d',
    950: '#000000',
  },
}
SCSS
$custom: #154a8d;
$custom-light: #697baf;
$custom-dark: #000000;
JSON
{
  "hex": "#154a8d",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 213.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.12398,
    "h": 256.5
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#154A8D
secondary
#C1873D
accent
#9F37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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