#154E7E#154E7E

#154E7E is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.099 H 248.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#154E7E
RGBrgb(21, 78, 126)
HSLhsl(207, 71%, 29%)
HSVhsv(207, 83%, 49%)
CMYKcmyk(83.3%, 38.1%, 0%, 50.6%)
CIE-LABlab(32.06, 0.37, -32.22)
CIE-LCHlch(32.06, 32.22, 270.67°)
OKLaboklab(41.37% -0.036 -0.0919)
OKLCHoklch(41.37% 0.099 248.6)
XYZxyz(6.7981, 7.1137, 20.7494)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E7E #7E4515
analogous
#157E7A #154E7E #15197E
triadic
#154E7E #7E154E #4E7E15
tetradic
#154E7E #7A157E #7E4515 #197E15
square
#154E7E #7A157E #7E4515 #197E15
split-complementary
#154E7E #7E1519 #7E7A15
monochromatic
#04101A #0C2E4A #154E7E #1E6EB2 #318EDD

Accessibility & contrast

On white

8.67
#154E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#154E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E7E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E7E#FFFFFF#000000##FFFFFF
##154E7E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154e7e;
/* rgb */ color: rgb(21, 78, 126);
/* oklch */ color: oklch(41.4% 0.099 248.6);
Tailwind
colors: {
  custom: {
    50: '#657fa3',
    500: '#154e7e',
    950: '#000000',
  },
}
SCSS
$custom: #154e7e;
$custom-light: #657fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#154e7e",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 207.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.09866,
    "h": 248.6
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#154E7E
secondary
#B3723C
accent
#8C3AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #154E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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