#154F81#154F81

#154F81 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.102 H 249.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#154F81
RGBrgb(21, 79, 129)
HSLhsl(208, 72%, 29%)
HSVhsv(208, 84%, 51%)
CMYKcmyk(83.7%, 38.8%, 0%, 49.4%)
CIE-LABlab(32.56, 0.94, -33.30)
CIE-LCHlch(32.56, 33.31, 271.61°)
OKLaboklab(41.81% -0.0361 -0.095)
OKLCHoklch(41.81% 0.102 249.2)
XYZxyz(7.0662, 7.3355, 21.8081)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F81 #814715
analogous
#15817D #154F81 #151981
triadic
#154F81 #81154F #4F8115
tetradic
#154F81 #7D1581 #814715 #198115
square
#154F81 #7D1581 #814715 #198115
split-complementary
#154F81 #811519 #817D15
monochromatic
#04101A #0C2F4C #154F81 #1E6FB6 #338FDE

Accessibility & contrast

On white

8.51
#154F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#154F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F81
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F81#FFFFFF#000000##FFFFFF
##154F811.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #154f81;
/* rgb */ color: rgb(21, 79, 129);
/* oklch */ color: oklch(41.8% 0.102 249.2);
Tailwind
colors: {
  custom: {
    50: '#667fa6',
    500: '#154f81',
    950: '#000000',
  },
}
SCSS
$custom: #154f81;
$custom-light: #667fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#154f81",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 207.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.10159,
    "h": 249.2
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#154F81
secondary
#B6743C
accent
#8D39EF
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #154F81

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

Preview Lab → · Contrast checker → · Palette generator →

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