#154F6C#154F6C

#154F6C is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.5% C 0.075 H 235.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#154F6C
RGBrgb(21, 79, 108)
HSLhsl(200, 67%, 25%)
HSVhsv(200, 81%, 42%)
CMYKcmyk(80.6%, 26.9%, 0%, 57.6%)
CIE-LABlab(31.42, -7.44, -21.98)
CIE-LCHlch(31.42, 23.20, 251.29°)
OKLaboklab(40.54% -0.043 -0.062)
OKLCHoklch(40.54% 0.075 235.3)
XYZxyz(5.8109, 6.8334, 15.1972)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F6C #6C3215
analogous
#156C5D #154F6C #15236C
triadic
#154F6C #6C154F #4F6C15
tetradic
#154F6C #5D156C #6C3215 #236C15
square
#154F6C #5D156C #6C3215 #236C15
split-complementary
#154F6C #6C1523 #6C5D15
monochromatic
#05131A #0B2A39 #154F6C #1F749F #299AD2

Accessibility & contrast

On white

8.87
#154F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#154F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F6C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F6C#FFFFFF#000000##FFFFFF
##154F6C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6D
Deuteranopia (green-blind)
#35466C
Tritanopia (blue-blind)
#005759
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154f6c;
/* rgb */ color: rgb(21, 79, 108);
/* oklch */ color: oklch(40.5% 0.075 235.3);
Tailwind
colors: {
  custom: {
    50: '#618096',
    500: '#154f6c',
    950: '#000000',
  },
}
SCSS
$custom: #154f6c;
$custom-light: #618096;
$custom-dark: #000000;
JSON
{
  "hex": "#154f6c",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 108
  },
  "hsl": {
    "h": 200,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.07542,
    "h": 235.3
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#154F6C
secondary
#A35D3A
accent
#773DEA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #154F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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