#154B8F#154B8F

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

Color values

HEX#154B8F
RGBrgb(21, 75, 143)
HSLhsl(213, 74%, 32%)
HSVhsv(213, 85%, 56%)
CMYKcmyk(85.3%, 47.6%, 0%, 43.9%)
CIE-LABlab(32.20, 9.35, -42.48)
CIE-LCHlch(32.20, 43.50, 282.42°)
OKLaboklab(41.82% -0.0293 -0.1221)
OKLCHoklch(41.82% 0.126 256.5)
XYZxyz(7.7814, 7.1738, 26.9558)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B8F #8F5915
analogous
#15888F #154B8F #1C158F
triadic
#154B8F #8F154B #4B8F15
tetradic
#154B8F #8F1588 #8F5915 #158F1C
square
#154B8F #8F1588 #8F5915 #158F1C
split-complementary
#154B8F #8F1C15 #888F15
monochromatic
#051324 #0D2F5A #154B8F #1D67C4 #3C86E2

Accessibility & contrast

On white

8.62
#154B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#154B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B8F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B8F#FFFFFF#000000##FFFFFF
##154B8F1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255292
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154b8f;
/* rgb */ color: rgb(21, 75, 143);
/* oklch */ color: oklch(41.8% 0.126 256.5);
Tailwind
colors: {
  custom: {
    50: '#697cb0',
    500: '#154b8f',
    950: '#000000',
  },
}
SCSS
$custom: #154b8f;
$custom-light: #697cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#154b8f",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 213.443,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.12553,
    "h": 256.5
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#154B8F
secondary
#C2873E
accent
#9F37F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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