#154B7F#154B7F

#154B7F is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.103 H 251.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#154B7F
RGBrgb(21, 75, 127)
HSLhsl(209, 72%, 29%)
HSVhsv(209, 83%, 50%)
CMYKcmyk(83.5%, 40.9%, 0%, 50.2%)
CIE-LABlab(31.17, 2.77, -34.27)
CIE-LCHlch(31.17, 34.38, 274.62°)
OKLaboklab(40.68% -0.0329 -0.0979)
OKLCHoklch(40.68% 0.103 251.4)
XYZxyz(6.6546, 6.7231, 21.0215)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B7F #7F4915
analogous
#157F7E #154B7F #15167F
triadic
#154B7F #7F154B #4B7F15
tetradic
#154B7F #7E157F #7F4915 #167F15
square
#154B7F #7E157F #7F4915 #167F15
split-complementary
#154B7F #7F1516 #7F7E15
monochromatic
#04101A #0C2C4A #154B7F #1E6AB4 #3189DD

Accessibility & contrast

On white

8.96
#154B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#154B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B7F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B7F#FFFFFF#000000##FFFFFF
##154B7F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154b7f;
/* rgb */ color: rgb(21, 75, 127);
/* oklch */ color: oklch(40.7% 0.103 251.4);
Tailwind
colors: {
  custom: {
    50: '#657ca4',
    500: '#154b7f',
    950: '#000000',
  },
}
SCSS
$custom: #154b7f;
$custom-light: #657ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#154b7f",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 127
  },
  "hsl": {
    "h": 209.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.10331,
    "h": 251.4
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#154B7F
secondary
#B4773C
accent
#9239EE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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