#154E8F#154E8F

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

Color values

HEX#154E8F
RGBrgb(21, 78, 143)
HSLhsl(212, 74%, 32%)
HSVhsv(212, 85%, 56%)
CMYKcmyk(85.3%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.11, 7.33, -41.01)
CIE-LCHlch(33.11, 41.66, 280.13°)
OKLaboklab(42.53% -0.0318 -0.1177)
OKLCHoklch(42.53% 0.122 254.9)
XYZxyz(7.9897, 7.5904, 27.0253)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E8F #8F5615
analogous
#158B8F #154E8F #19158F
triadic
#154E8F #8F154E #4E8F15
tetradic
#154E8F #8F158B #8F5615 #158F19
square
#154E8F #8F158B #8F5615 #158F19
split-complementary
#154E8F #8F1915 #8B8F15
monochromatic
#051424 #0D315A #154E8F #1D6BC4 #3C8AE2

Accessibility & contrast

On white

8.34
#154E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#154E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E8F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E8F#FFFFFF#000000##FFFFFF
##154E8F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5491
Deuteranopia (green-blind)
#11498E
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154e8f;
/* rgb */ color: rgb(21, 78, 143);
/* oklch */ color: oklch(42.5% 0.122 254.9);
Tailwind
colors: {
  custom: {
    50: '#697fb0',
    500: '#154e8f',
    950: '#000000',
  },
}
SCSS
$custom: #154e8f;
$custom-light: #697fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#154e8f",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 211.967,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.12187,
    "h": 254.9
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#154E8F
secondary
#C2843E
accent
#9A37F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #154E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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