#154C7D#154C7D

#154C7D is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.8% C 0.099 H 249.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#154C7D
RGBrgb(21, 76, 125)
HSLhsl(208, 71%, 29%)
HSVhsv(208, 83%, 49%)
CMYKcmyk(83.2%, 39.2%, 0%, 51%)
CIE-LABlab(31.37, 1.29, -32.71)
CIE-LCHlch(31.37, 32.74, 272.25°)
OKLaboklab(40.8% -0.0344 -0.0933)
OKLCHoklch(40.8% 0.099 249.8)
XYZxyz(6.5940, 6.8082, 20.3646)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C7D #7D4615
analogous
#157D7A #154C7D #15187D
triadic
#154C7D #7D154C #4C7D15
tetradic
#154C7D #7A157D #7D4615 #187D15
square
#154C7D #7A157D #7D4615 #187D15
split-complementary
#154C7D #7D1518 #7D7A15
monochromatic
#04101A #0C2C49 #154C7D #1E6CB1 #308BDC

Accessibility & contrast

On white

8.89
#154C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#154C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C7D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C7D#FFFFFF#000000##FFFFFF
##154C7D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154c7d;
/* rgb */ color: rgb(21, 76, 125);
/* oklch */ color: oklch(40.8% 0.099 249.8);
Tailwind
colors: {
  custom: {
    50: '#657da3',
    500: '#154c7d',
    950: '#000000',
  },
}
SCSS
$custom: #154c7d;
$custom-light: #657da3;
$custom-dark: #000000;
JSON
{
  "hex": "#154c7d",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 208.269,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.09946,
    "h": 249.8
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#154C7D
secondary
#B2733C
accent
#8F3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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