#154C89#154C89

#154C89 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.116 H 254.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#154C89
RGBrgb(21, 76, 137)
HSLhsl(212, 73%, 31%)
HSVhsv(212, 85%, 54%)
CMYKcmyk(84.7%, 44.5%, 0%, 46.3%)
CIE-LABlab(32.11, 6.21, -38.95)
CIE-LCHlch(32.11, 39.44, 279.06°)
OKLaboklab(41.62% -0.0314 -0.1116)
OKLCHoklch(41.62% 0.116 254.3)
XYZxyz(7.4074, 7.1335, 24.6486)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C89 #895215
analogous
#158689 #154C89 #181589
triadic
#154C89 #89154C #4C8915
tetradic
#154C89 #891586 #895215 #158918
square
#154C89 #891586 #895215 #158918
split-complementary
#154C89 #891815 #868915
monochromatic
#05111F #0D2F54 #154C89 #1D69BE #3888E0

Accessibility & contrast

On white

8.65
#154C89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#154C89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C89
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C89#FFFFFF#000000##FFFFFF
##154C891.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518B
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154c89;
/* rgb */ color: rgb(21, 76, 137);
/* oklch */ color: oklch(41.6% 0.116 254.3);
Tailwind
colors: {
  custom: {
    50: '#687dac',
    500: '#154c89',
    950: '#000000',
  },
}
SCSS
$custom: #154c89;
$custom-light: #687dac;
$custom-dark: #000000;
JSON
{
  "hex": "#154c89",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 137
  },
  "hsl": {
    "h": 211.552,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41619,
    "c": 0.11597,
    "h": 254.3
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#154C89
secondary
#BD803D
accent
#9938F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154C89

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

Preview Lab → · Contrast checker → · Palette generator →

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