#154A5F#154A5F

#154A5F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.5% C 0.065 H 228.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#154A5F
RGBrgb(21, 74, 95)
HSLhsl(197, 64%, 23%)
HSVhsv(197, 78%, 37%)
CMYKcmyk(77.9%, 22.1%, 0%, 62.7%)
CIE-LABlab(29.11, -9.35, -17.31)
CIE-LCHlch(29.11, 19.68, 241.63°)
OKLaboklab(38.49% -0.0427 -0.0486)
OKLCHoklch(38.49% 0.065 228.7)
XYZxyz(4.8228, 5.8827, 11.7055)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A5F #5F2A15
analogous
#155F4F #154A5F #15255F
triadic
#154A5F #5F154A #4A5F15
tetradic
#154A5F #4F155F #5F2A15 #255F15
square
#154A5F #4F155F #5F2A15 #255F15
split-complementary
#154A5F #5F1525 #5F4F15
monochromatic
#061419 #0A232D #154A5F #207191 #2B98C3

Accessibility & contrast

On white

9.65
#154A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#154A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A5F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A5F#FFFFFF#000000##FFFFFF
##154A5F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#35415F
Tritanopia (blue-blind)
#005051
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154a5f;
/* rgb */ color: rgb(21, 74, 95);
/* oklch */ color: oklch(38.5% 0.065 228.7);
Tailwind
colors: {
  custom: {
    50: '#5e7c8c',
    500: '#154a5f',
    950: '#000000',
  },
}
SCSS
$custom: #154a5f;
$custom-light: #5e7c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#154a5f",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 95
  },
  "hsl": {
    "h": 197.027,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.06468,
    "h": 228.7
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#154A5F
secondary
#96543A
accent
#7041E7
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #154A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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