#154C7F#154C7F

#154C7F is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.102 H 250.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#154C7F
RGBrgb(21, 76, 127)
HSLhsl(209, 72%, 29%)
HSVhsv(209, 83%, 50%)
CMYKcmyk(83.5%, 40.2%, 0%, 50.2%)
CIE-LABlab(31.49, 2.10, -33.76)
CIE-LCHlch(31.49, 33.83, 273.56°)
OKLaboklab(40.93% -0.0338 -0.0964)
OKLCHoklch(40.93% 0.102 250.7)
XYZxyz(6.7230, 6.8598, 21.0443)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C7F #7F4815
analogous
#157F7D #154C7F #15177F
triadic
#154C7F #7F154C #4C7F15
tetradic
#154C7F #7D157F #7F4815 #177F15
square
#154C7F #7D157F #7F4815 #177F15
split-complementary
#154C7F #7F1517 #7F7D15
monochromatic
#04101A #0C2D4A #154C7F #1E6BB4 #318ADD

Accessibility & contrast

On white

8.85
#154C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#154C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C7F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C7F#FFFFFF#000000##FFFFFF
##154C7F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#23467E
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154c7f;
/* rgb */ color: rgb(21, 76, 127);
/* oklch */ color: oklch(40.9% 0.102 250.7);
Tailwind
colors: {
  custom: {
    50: '#657da4',
    500: '#154c7f',
    950: '#000000',
  },
}
SCSS
$custom: #154c7f;
$custom-light: #657da4;
$custom-dark: #000000;
JSON
{
  "hex": "#154c7f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 127
  },
  "hsl": {
    "h": 208.868,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.10218,
    "h": 250.7
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#154C7F
secondary
#B4763C
accent
#9039EE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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