#154E8E#154E8E

#154E8E is a dark, vivid cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.120 H 254.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#154E8E
RGBrgb(21, 78, 142)
HSLhsl(212, 74%, 32%)
HSVhsv(212, 85%, 56%)
CMYKcmyk(85.2%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.05, 6.92, -40.50)
CIE-LCHlch(33.05, 41.09, 279.69°)
OKLaboklab(42.45% -0.032 -0.1162)
OKLCHoklch(42.45% 0.12 254.6)
XYZxyz(7.9143, 7.5602, 26.6281)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E8E #8E5515
analogous
#158A8E #154E8E #19158E
triadic
#154E8E #8E154E #4E8E15
tetradic
#154E8E #8E158A #8E5515 #158E19
square
#154E8E #8E158A #8E5515 #158E19
split-complementary
#154E8E #8E1915 #8A8E15
monochromatic
#051323 #0D3159 #154E8E #1D6BC3 #3B8AE2

Accessibility & contrast

On white

8.36
#154E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#154E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E8E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E8E#FFFFFF#000000##FFFFFF
##154E8E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5490
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154e8e;
/* rgb */ color: rgb(21, 78, 142);
/* oklch */ color: oklch(42.5% 0.120 254.6);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#154e8e',
    950: '#000000',
  },
}
SCSS
$custom: #154e8e;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#154e8e",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 211.736,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.12049,
    "h": 254.6
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#154E8E
secondary
#C2833D
accent
#9937F1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #154E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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