#154D89#154D89

#154D89 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.115 H 253.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#154D89
RGBrgb(21, 77, 137)
HSLhsl(211, 73%, 31%)
HSVhsv(211, 85%, 54%)
CMYKcmyk(84.7%, 43.8%, 0%, 46.3%)
CIE-LABlab(32.42, 5.53, -38.45)
CIE-LCHlch(32.42, 38.84, 278.19°)
OKLaboklab(41.86% -0.0322 -0.1102)
OKLCHoklch(41.86% 0.115 253.7)
XYZxyz(7.4768, 7.2724, 24.6717)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D89 #895115
analogous
#158789 #154D89 #171589
triadic
#154D89 #89154D #4D8915
tetradic
#154D89 #891587 #895115 #158917
square
#154D89 #891587 #895115 #158917
split-complementary
#154D89 #891715 #878915
monochromatic
#05111F #0D2F54 #154D89 #1D6BBE #3889E0

Accessibility & contrast

On white

8.56
#154D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#154D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D89
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D89#FFFFFF#000000##FFFFFF
##154D891.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#194788
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154d89;
/* rgb */ color: rgb(21, 77, 137);
/* oklch */ color: oklch(41.9% 0.115 253.7);
Tailwind
colors: {
  custom: {
    50: '#687eac',
    500: '#154d89',
    950: '#000000',
  },
}
SCSS
$custom: #154d89;
$custom-light: #687eac;
$custom-dark: #000000;
JSON
{
  "hex": "#154d89",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 211.034,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.11478,
    "h": 253.7
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#154D89
secondary
#BD7F3D
accent
#9738F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154D89

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

Preview Lab → · Contrast checker → · Palette generator →

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