#154D8F#154D8F

#154D8F is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.3% C 0.123 H 255.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#154D8F
RGBrgb(21, 77, 143)
HSLhsl(212, 74%, 32%)
HSVhsv(212, 85%, 56%)
CMYKcmyk(85.3%, 46.2%, 0%, 43.9%)
CIE-LABlab(32.81, 8.00, -41.50)
CIE-LCHlch(32.81, 42.26, 280.91°)
OKLaboklab(42.29% -0.0309 -0.1191)
OKLCHoklch(42.29% 0.123 255.4)
XYZxyz(7.9192, 7.4494, 27.0018)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D8F #8F5715
analogous
#158A8F #154D8F #1A158F
triadic
#154D8F #8F154D #4D8F15
tetradic
#154D8F #8F158A #8F5715 #158F1A
square
#154D8F #8F158A #8F5715 #158F1A
split-complementary
#154D8F #8F1A15 #8A8F15
monochromatic
#051424 #0D305A #154D8F #1D6AC4 #3C88E2

Accessibility & contrast

On white

8.43
#154D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#154D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D8F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D8F#FFFFFF#000000##FFFFFF
##154D8F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#0D488E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #154d8f;
/* rgb */ color: rgb(21, 77, 143);
/* oklch */ color: oklch(42.3% 0.123 255.4);
Tailwind
colors: {
  custom: {
    50: '#697eb0',
    500: '#154d8f',
    950: '#000000',
  },
}
SCSS
$custom: #154d8f;
$custom-light: #697eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#154d8f",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 212.459,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.12308,
    "h": 255.4
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#154D8F
secondary
#C2853E
accent
#9C37F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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