#154D5F#154D5F

#154D5F is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.3% C 0.064 H 223.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#154D5F
RGBrgb(21, 77, 95)
HSLhsl(195, 64%, 23%)
HSVhsv(195, 78%, 37%)
CMYKcmyk(77.9%, 18.9%, 0%, 62.7%)
CIE-LABlab(30.14, -11.18, -15.73)
CIE-LCHlch(30.14, 19.30, 234.59°)
OKLaboklab(39.32% -0.0461 -0.044)
OKLCHoklch(39.32% 0.064 223.7)
XYZxyz(5.0278, 6.2928, 11.7739)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D5F #5F2715
analogous
#155F4C #154D5F #15285F
triadic
#154D5F #5F154D #4D5F15
tetradic
#154D5F #4C155F #5F2715 #285F15
square
#154D5F #4C155F #5F2715 #285F15
split-complementary
#154D5F #5F1528 #5F4C15
monochromatic
#061419 #0A242D #154D5F #207691 #2B9EC3

Accessibility & contrast

On white

9.30
#154D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#154D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D5F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D5F#FFFFFF#000000##FFFFFF
##154D5F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B60
Deuteranopia (green-blind)
#39445F
Tritanopia (blue-blind)
#005253
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154d5f;
/* rgb */ color: rgb(21, 77, 95);
/* oklch */ color: oklch(39.3% 0.064 223.7);
Tailwind
colors: {
  custom: {
    50: '#5f7e8c',
    500: '#154d5f',
    950: '#000000',
  },
}
SCSS
$custom: #154d5f;
$custom-light: #5f7e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#154d5f",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 95
  },
  "hsl": {
    "h": 194.595,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.06373,
    "h": 223.7
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#154D5F
secondary
#96503A
accent
#6941E7
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #154D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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