#154C5E#154C5E

#154C5E is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.0% C 0.063 H 224.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#154C5E
RGBrgb(21, 76, 94)
HSLhsl(195, 63%, 23%)
HSVhsv(195, 78%, 37%)
CMYKcmyk(77.7%, 19.1%, 0%, 63.1%)
CIE-LABlab(29.75, -10.95, -15.69)
CIE-LCHlch(29.75, 19.13, 235.08°)
OKLaboklab(38.99% -0.0454 -0.0439)
OKLCHoklch(38.99% 0.063 224.1)
XYZxyz(4.9133, 6.1359, 11.5129)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C5E #5E2715
analogous
#155E4C #154C5E #15275E
triadic
#154C5E #5E154C #4C5E15
tetradic
#154C5E #4C155E #5E2715 #275E15
square
#154C5E #4C155E #5E2715 #275E15
split-complementary
#154C5E #5E1527 #5E4C15
monochromatic
#061419 #0A242C #154C5E #207490 #2B9DC2

Accessibility & contrast

On white

9.43
#154C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154C5E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C5E#FFFFFF#000000##FFFFFF
##154C5E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#38435E
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154c5e;
/* rgb */ color: rgb(21, 76, 94);
/* oklch */ color: oklch(39.0% 0.063 224.1);
Tailwind
colors: {
  custom: {
    50: '#5e7e8b',
    500: '#154c5e',
    950: '#000000',
  },
}
SCSS
$custom: #154c5e;
$custom-light: #5e7e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#154c5e",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 94
  },
  "hsl": {
    "h": 194.795,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.06315,
    "h": 224.1
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#154C5E
secondary
#955039
accent
#6A41E7
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #154C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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