#154F7F#154F7F

#154F7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.099 H 248.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#154F7F
RGBrgb(21, 79, 127)
HSLhsl(207, 72%, 29%)
HSVhsv(207, 83%, 50%)
CMYKcmyk(83.5%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.44, 0.12, -32.24)
CIE-LCHlch(32.44, 32.24, 270.22°)
OKLaboklab(41.68% -0.0366 -0.0919)
OKLCHoklch(41.68% 0.099 248.3)
XYZxyz(6.9345, 7.2829, 21.1148)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F7F #7F4515
analogous
#157F7A #154F7F #151A7F
triadic
#154F7F #7F154F #4F7F15
tetradic
#154F7F #7A157F #7F4515 #1A7F15
square
#154F7F #7A157F #7F4515 #1A7F15
split-complementary
#154F7F #7F151A #7F7A15
monochromatic
#04101A #0C2E4A #154F7F #1E70B4 #318FDD

Accessibility & contrast

On white

8.55
#154F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#154F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F7F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F7F#FFFFFF#000000##FFFFFF
##154F7F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154f7f;
/* rgb */ color: rgb(21, 79, 127);
/* oklch */ color: oklch(41.7% 0.099 248.3);
Tailwind
colors: {
  custom: {
    50: '#6580a4',
    500: '#154f7f',
    950: '#000000',
  },
}
SCSS
$custom: #154f7f;
$custom-light: #6580a4;
$custom-dark: #000000;
JSON
{
  "hex": "#154f7f",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 207.17,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.09893,
    "h": 248.3
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#154F7F
secondary
#B4723C
accent
#8B39EE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #154F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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