#154780#154780

#154780 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.109 H 254.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#154780
RGBrgb(21, 71, 128)
HSLhsl(212, 72%, 29%)
HSVhsv(212, 84%, 50%)
CMYKcmyk(83.6%, 44.5%, 0%, 49.8%)
CIE-LABlab(29.97, 5.88, -36.80)
CIE-LCHlch(29.97, 37.27, 279.07°)
OKLaboklab(39.77% -0.0291 -0.1054)
OKLCHoklch(39.77% 0.109 254.6)
XYZxyz(6.4573, 6.2236, 21.2788)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154780 #804E15
analogous
#157D80 #154780 #191580
triadic
#154780 #801547 #478015
tetradic
#154780 #80157D #804E15 #158019
square
#154780 #80157D #804E15 #158019
split-complementary
#154780 #801915 #7D8015
monochromatic
#040F1A #0C2A4B #154780 #1E64B5 #3282DD

Accessibility & contrast

On white

9.35
#154780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#154780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154780
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154780#FFFFFF#000000##FFFFFF
##1547801.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#16427F
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154780;
/* rgb */ color: rgb(21, 71, 128);
/* oklch */ color: oklch(39.8% 0.109 254.6);
Tailwind
colors: {
  custom: {
    50: '#6679a5',
    500: '#154780',
    950: '#000000',
  },
}
SCSS
$custom: #154780;
$custom-light: #6679a5;
$custom-dark: #000000;
JSON
{
  "hex": "#154780",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 211.963,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.10939,
    "h": 254.6
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#154780
secondary
#B57C3C
accent
#9A39EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154780

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

Preview Lab → · Contrast checker → · Palette generator →

#154780 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva