#154A8C#154A8C

#154A8C is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.123 H 256.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#154A8C
RGBrgb(21, 74, 140)
HSLhsl(213, 74%, 32%)
HSVhsv(213, 85%, 55%)
CMYKcmyk(85%, 47.1%, 0%, 45.1%)
CIE-LABlab(31.69, 8.80, -41.46)
CIE-LCHlch(31.69, 42.38, 281.98°)
OKLaboklab(41.36% -0.0291 -0.1191)
OKLCHoklch(41.36% 0.123 256.3)
XYZxyz(7.4899, 6.9495, 25.7525)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A8C #8C5715
analogous
#15868C #154A8C #1B158C
triadic
#154A8C #8C154A #4A8C15
tetradic
#154A8C #8C1586 #8C5715 #158C1B
square
#154A8C #8C1586 #8C5715 #158C1B
split-complementary
#154A8C #8C1B15 #868C15
monochromatic
#051222 #0D2E57 #154A8C #1D66C1 #3A85E1

Accessibility & contrast

On white

8.79
#154A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#154A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A8C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A8C#FFFFFF#000000##FFFFFF
##154A8C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#06468B
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154a8c;
/* rgb */ color: rgb(21, 74, 140);
/* oklch */ color: oklch(41.4% 0.123 256.3);
Tailwind
colors: {
  custom: {
    50: '#687bae',
    500: '#154a8c',
    950: '#000000',
  },
}
SCSS
$custom: #154a8c;
$custom-light: #687bae;
$custom-dark: #000000;
JSON
{
  "hex": "#154a8c",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 140
  },
  "hsl": {
    "h": 213.277,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.12257,
    "h": 256.3
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#154A8C
secondary
#C0863D
accent
#9E37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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