#154A5D#154A5D

#154A5D is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.4% C 0.063 H 226.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#154A5D
RGBrgb(21, 74, 93)
HSLhsl(196, 63%, 22%)
HSVhsv(196, 77%, 36%)
CMYKcmyk(77.4%, 20.4%, 0%, 63.5%)
CIE-LABlab(29.02, -10.11, -16.18)
CIE-LCHlch(29.02, 19.08, 237.99°)
OKLaboklab(38.39% -0.0435 -0.0453)
OKLCHoklch(38.39% 0.063 226.1)
XYZxyz(4.7330, 5.8468, 11.2329)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A5D #5D2815
analogous
#155D4C #154A5D #15265D
triadic
#154A5D #5D154A #4A5D15
tetradic
#154A5D #4C155D #5D2815 #265D15
square
#154A5D #4C155D #5D2815 #265D15
split-complementary
#154A5D #5D1526 #5D4C15
monochromatic
#061419 #0A222B #154A5D #20728F #2C99C1

Accessibility & contrast

On white

9.68
#154A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#154A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A5D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A5D#FFFFFF#000000##FFFFFF
##154A5D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485E
Deuteranopia (green-blind)
#36415D
Tritanopia (blue-blind)
#005050
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154a5d;
/* rgb */ color: rgb(21, 74, 93);
/* oklch */ color: oklch(38.4% 0.063 226.1);
Tailwind
colors: {
  custom: {
    50: '#5e7c8b',
    500: '#154a5d',
    950: '#000000',
  },
}
SCSS
$custom: #154a5d;
$custom-light: #5e7c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#154a5d",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 93
  },
  "hsl": {
    "h": 195.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.06285,
    "h": 226.1
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#154A5D
secondary
#945139
accent
#6D42E6
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #154A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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