#154C8C#154C8C

#154C8C is a dark, vivid cyan. Relative luminance 0.072; OKLCH L 41.8% C 0.120 H 255.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#154C8C
RGBrgb(21, 76, 140)
HSLhsl(212, 74%, 32%)
HSVhsv(212, 85%, 55%)
CMYKcmyk(85%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.30, 7.44, -40.47)
CIE-LCHlch(32.30, 41.15, 280.42°)
OKLaboklab(41.83% -0.0307 -0.1161)
OKLCHoklch(41.83% 0.12 255.2)
XYZxyz(7.6256, 7.2208, 25.7977)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C8C #8C5515
analogous
#15888C #154C8C #1A158C
triadic
#154C8C #8C154C #4C8C15
tetradic
#154C8C #8C1588 #8C5515 #158C1A
square
#154C8C #8C1588 #8C5515 #158C1A
split-complementary
#154C8C #8C1A15 #888C15
monochromatic
#051222 #0D2F57 #154C8C #1D69C1 #3A87E1

Accessibility & contrast

On white

8.59
#154C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#154C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C8C
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C8C#FFFFFF#000000##FFFFFF
##154C8C1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528E
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154c8c;
/* rgb */ color: rgb(21, 76, 140);
/* oklch */ color: oklch(41.8% 0.120 255.2);
Tailwind
colors: {
  custom: {
    50: '#687dae',
    500: '#154c8c',
    950: '#000000',
  },
}
SCSS
$custom: #154c8c;
$custom-light: #687dae;
$custom-dark: #000000;
JSON
{
  "hex": "#154c8c",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 212.269,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.12013,
    "h": 255.2
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#154C8C
secondary
#C0833D
accent
#9B37F1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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