#154C5F#154C5F

#154C5F is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.0% C 0.064 H 225.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#154C5F
RGBrgb(21, 76, 95)
HSLhsl(195, 64%, 23%)
HSVhsv(195, 78%, 37%)
CMYKcmyk(77.9%, 20%, 0%, 62.7%)
CIE-LABlab(29.80, -10.58, -16.26)
CIE-LCHlch(29.80, 19.40, 236.95°)
OKLaboklab(39.04% -0.0449 -0.0455)
OKLCHoklch(39.04% 0.064 225.4)
XYZxyz(4.9584, 6.1540, 11.7508)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C5F #5F2815
analogous
#155F4D #154C5F #15275F
triadic
#154C5F #5F154C #4C5F15
tetradic
#154C5F #4D155F #5F2815 #275F15
square
#154C5F #4D155F #5F2815 #275F15
split-complementary
#154C5F #5F1527 #5F4D15
monochromatic
#061419 #0A242D #154C5F #207491 #2B9CC3

Accessibility & contrast

On white

9.41
#154C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#154C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C5F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C5F#FFFFFF#000000##FFFFFF
##154C5F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A60
Deuteranopia (green-blind)
#37435F
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154c5f;
/* rgb */ color: rgb(21, 76, 95);
/* oklch */ color: oklch(39.0% 0.064 225.4);
Tailwind
colors: {
  custom: {
    50: '#5f7e8c',
    500: '#154c5f',
    950: '#000000',
  },
}
SCSS
$custom: #154c5f;
$custom-light: #5f7e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#154c5f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 95
  },
  "hsl": {
    "h": 195.405,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.06399,
    "h": 225.4
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#154C5F
secondary
#96513A
accent
#6C41E7
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #154C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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