#154E7F#154E7F

#154E7F is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.100 H 249.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#154E7F
RGBrgb(21, 78, 127)
HSLhsl(208, 72%, 29%)
HSVhsv(208, 83%, 50%)
CMYKcmyk(83.5%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.12, 0.78, -32.75)
CIE-LCHlch(32.12, 32.76, 271.36°)
OKLaboklab(41.43% -0.0357 -0.0934)
OKLCHoklch(41.43% 0.1 249.1)
XYZxyz(6.8629, 7.1397, 21.0909)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E7F #7F4615
analogous
#157F7B #154E7F #15197F
triadic
#154E7F #7F154E #4E7F15
tetradic
#154E7F #7B157F #7F4615 #197F15
square
#154E7F #7B157F #7F4615 #197F15
split-complementary
#154E7F #7F1519 #7F7B15
monochromatic
#04101A #0C2E4A #154E7F #1E6EB4 #318EDD

Accessibility & contrast

On white

8.65
#154E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154E7F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E7F#FFFFFF#000000##FFFFFF
##154E7F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154e7f;
/* rgb */ color: rgb(21, 78, 127);
/* oklch */ color: oklch(41.4% 0.100 249.1);
Tailwind
colors: {
  custom: {
    50: '#657fa4',
    500: '#154e7f',
    950: '#000000',
  },
}
SCSS
$custom: #154e7f;
$custom-light: #657fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#154e7f",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 207.736,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.09999,
    "h": 249.1
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#154E7F
secondary
#B4733C
accent
#8D39EE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #154E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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