#154D7D#154D7D

#154D7D is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.098 H 249.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#154D7D
RGBrgb(21, 77, 125)
HSLhsl(208, 71%, 29%)
HSVhsv(208, 83%, 49%)
CMYKcmyk(83.2%, 38.4%, 0%, 51%)
CIE-LABlab(31.69, 0.63, -32.20)
CIE-LCHlch(31.69, 32.21, 271.11°)
OKLaboklab(41.05% -0.0353 -0.0918)
OKLCHoklch(41.05% 0.098 249)
XYZxyz(6.6634, 6.9470, 20.3878)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D7D #7D4515
analogous
#157D79 #154D7D #15197D
triadic
#154D7D #7D154D #4D7D15
tetradic
#154D7D #79157D #7D4515 #197D15
square
#154D7D #79157D #7D4515 #197D15
split-complementary
#154D7D #7D1519 #7D7915
monochromatic
#04101A #0C2D49 #154D7D #1E6DB1 #308DDC

Accessibility & contrast

On white

8.79
#154D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#154D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D7D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D7D#FFFFFF#000000##FFFFFF
##154D7D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154d7d;
/* rgb */ color: rgb(21, 77, 125);
/* oklch */ color: oklch(41.0% 0.098 249.0);
Tailwind
colors: {
  custom: {
    50: '#657ea3',
    500: '#154d7d',
    950: '#000000',
  },
}
SCSS
$custom: #154d7d;
$custom-light: #657ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#154d7d",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 207.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.09838,
    "h": 249
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#154D7D
secondary
#B2723C
accent
#8D3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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