#154E6E#154E6E

#154E6E is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.4% C 0.078 H 238.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#154E6E
RGBrgb(21, 78, 110)
HSLhsl(202, 68%, 26%)
HSVhsv(202, 81%, 43%)
CMYKcmyk(80.9%, 29.1%, 0%, 56.9%)
CIE-LABlab(31.19, -6.03, -23.60)
CIE-LCHlch(31.19, 24.36, 255.66°)
OKLaboklab(40.39% -0.0412 -0.0667)
OKLCHoklch(40.39% 0.078 238.3)
XYZxyz(5.8470, 6.7333, 15.7403)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E6E #6E3515
analogous
#156E61 #154E6E #15216E
triadic
#154E6E #6E154E #4E6E15
tetradic
#154E6E #61156E #6E3515 #216E15
square
#154E6E #61156E #6E3515 #216E15
split-complementary
#154E6E #6E1521 #6E6115
monochromatic
#05121A #0B2A3B #154E6E #1F72A1 #2997D5

Accessibility & contrast

On white

8.95
#154E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#154E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E6E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E6E#FFFFFF#000000##FFFFFF
##154E6E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#33466D
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154e6e;
/* rgb */ color: rgb(21, 78, 110);
/* oklch */ color: oklch(40.4% 0.078 238.3);
Tailwind
colors: {
  custom: {
    50: '#627f97',
    500: '#154e6e',
    950: '#000000',
  },
}
SCSS
$custom: #154e6e;
$custom-light: #627f97;
$custom-dark: #000000;
JSON
{
  "hex": "#154e6e",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 201.573,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.07839,
    "h": 238.3
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#154E6E
secondary
#A4613A
accent
#7B3DEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #154E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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