#154D7C#154D7C

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

Color values

HEX#154D7C
RGBrgb(21, 77, 124)
HSLhsl(207, 71%, 28%)
HSVhsv(207, 83%, 49%)
CMYKcmyk(83.1%, 37.9%, 0%, 51.4%)
CIE-LABlab(31.63, 0.22, -31.67)
CIE-LCHlch(31.63, 31.67, 270.40°)
OKLaboklab(40.98% -0.0356 -0.0903)
OKLCHoklch(40.98% 0.097 248.5)
XYZxyz(6.5998, 6.9216, 20.0530)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D7C #7C4415
analogous
#157C77 #154D7C #15197C
triadic
#154D7C #7C154D #4D7C15
tetradic
#154D7C #77157C #7C4415 #197C15
square
#154D7C #77157C #7C4415 #197C15
split-complementary
#154D7C #7C1519 #7C7715
monochromatic
#04101A #0C2C48 #154D7C #1E6DB0 #308DDC

Accessibility & contrast

On white

8.81
#154D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#154D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D7C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D7C#FFFFFF#000000##FFFFFF
##154D7C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154d7c;
/* rgb */ color: rgb(21, 77, 124);
/* oklch */ color: oklch(41.0% 0.097 248.5);
Tailwind
colors: {
  custom: {
    50: '#657ea2',
    500: '#154d7c',
    950: '#000000',
  },
}
SCSS
$custom: #154d7c;
$custom-light: #657ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#154d7c",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 207.379,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.09704,
    "h": 248.5
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#154D7C
secondary
#B1713C
accent
#8C3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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