#154C7C#154C7C

#154C7C is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.7% C 0.098 H 249.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#154C7C
RGBrgb(21, 76, 124)
HSLhsl(208, 71%, 28%)
HSVhsv(208, 83%, 49%)
CMYKcmyk(83.1%, 38.7%, 0%, 51.4%)
CIE-LABlab(31.31, 0.88, -32.18)
CIE-LCHlch(31.31, 32.19, 271.56°)
OKLaboklab(40.73% -0.0347 -0.0918)
OKLCHoklch(40.73% 0.098 249.3)
XYZxyz(6.5304, 6.7828, 20.0299)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C7C #7C4515
analogous
#157C78 #154C7C #15197C
triadic
#154C7C #7C154C #4C7C15
tetradic
#154C7C #78157C #7C4515 #197C15
square
#154C7C #78157C #7C4515 #197C15
split-complementary
#154C7C #7C1519 #7C7815
monochromatic
#04101A #0C2C48 #154C7C #1E6CB0 #308CDC

Accessibility & contrast

On white

8.91
#154C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#154C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C7C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C7C#FFFFFF#000000##FFFFFF
##154C7C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154c7c;
/* rgb */ color: rgb(21, 76, 124);
/* oklch */ color: oklch(40.7% 0.098 249.3);
Tailwind
colors: {
  custom: {
    50: '#657da2',
    500: '#154c7c',
    950: '#000000',
  },
}
SCSS
$custom: #154c7c;
$custom-light: #657da2;
$custom-dark: #000000;
JSON
{
  "hex": "#154c7c",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 207.961,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.09811,
    "h": 249.3
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#154C7C
secondary
#B1723C
accent
#8E3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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