#154C8E#154C8E

#154C8E is a dark, vivid cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.123 H 255.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#154C8E
RGBrgb(21, 76, 142)
HSLhsl(213, 74%, 32%)
HSVhsv(213, 85%, 56%)
CMYKcmyk(85.2%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.44, 8.26, -41.49)
CIE-LCHlch(32.44, 42.30, 281.27°)
OKLaboklab(41.98% -0.0303 -0.1191)
OKLCHoklch(41.98% 0.123 255.7)
XYZxyz(7.7744, 7.2803, 26.5814)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C8E #8E5715
analogous
#15898E #154C8E #1A158E
triadic
#154C8E #8E154C #4C8E15
tetradic
#154C8E #8E1589 #8E5715 #158E1A
square
#154C8E #8E1589 #8E5715 #158E1A
split-complementary
#154C8E #8E1A15 #898E15
monochromatic
#051323 #0D2F59 #154C8E #1D69C3 #3B87E2

Accessibility & contrast

On white

8.55
#154C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#154C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C8E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C8E#FFFFFF#000000##FFFFFF
##154C8E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154c8e;
/* rgb */ color: rgb(21, 76, 142);
/* oklch */ color: oklch(42.0% 0.123 255.7);
Tailwind
colors: {
  custom: {
    50: '#697daf',
    500: '#154c8e',
    950: '#000000',
  },
}
SCSS
$custom: #154c8e;
$custom-light: #697daf;
$custom-dark: #000000;
JSON
{
  "hex": "#154c8e",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 212.727,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.12291,
    "h": 255.7
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#154C8E
secondary
#C2853D
accent
#9C37F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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