#154A78#154A78

#154A78 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.095 H 249.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#154A78
RGBrgb(21, 74, 120)
HSLhsl(208, 70%, 28%)
HSVhsv(208, 83%, 47%)
CMYKcmyk(82.5%, 38.3%, 0%, 52.9%)
CIE-LABlab(30.43, 0.57, -31.08)
CIE-LCHlch(30.43, 31.08, 271.05°)
OKLaboklab(39.97% -0.0339 -0.0886)
OKLCHoklch(39.97% 0.095 249.1)
XYZxyz(6.1469, 6.4123, 18.6794)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A78 #784315
analogous
#157875 #154A78 #151878
triadic
#154A78 #78154A #4A7815
tetradic
#154A78 #751578 #784315 #187815
square
#154A78 #751578 #784315 #187815
split-complementary
#154A78 #781518 #787515
monochromatic
#05101A #0C2A44 #154A78 #1E6AAC #2D8ADA

Accessibility & contrast

On white

9.20
#154A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#154A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A78
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A78#FFFFFF#000000##FFFFFF
##154A781.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7A
Deuteranopia (green-blind)
#254477
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154a78;
/* rgb */ color: rgb(21, 74, 120);
/* oklch */ color: oklch(40.0% 0.095 249.1);
Tailwind
colors: {
  custom: {
    50: '#647c9f',
    500: '#154a78',
    950: '#000000',
  },
}
SCSS
$custom: #154a78;
$custom-light: #647c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#154a78",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 207.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.09485,
    "h": 249.1
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#154A78
secondary
#AE703B
accent
#8E3BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154A78

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

Preview Lab → · Contrast checker → · Palette generator →

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