#154880#154880

#154880 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.108 H 253.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#154880
RGBrgb(21, 72, 128)
HSLhsl(211, 72%, 29%)
HSVhsv(211, 84%, 50%)
CMYKcmyk(83.6%, 43.8%, 0%, 49.8%)
CIE-LABlab(30.28, 5.20, -36.30)
CIE-LCHlch(30.28, 36.67, 278.15°)
OKLaboklab(40.01% -0.03 -0.1039)
OKLCHoklch(40.01% 0.108 253.9)
XYZxyz(6.5214, 6.3519, 21.3002)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154880 #804D15
analogous
#157E80 #154880 #181580
triadic
#154880 #801548 #488015
tetradic
#154880 #80157E #804D15 #158018
square
#154880 #80157E #804D15 #158018
split-complementary
#154880 #801815 #7E8015
monochromatic
#040F1A #0C2A4B #154880 #1E66B5 #3284DD

Accessibility & contrast

On white

9.25
#154880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#154880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154880
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154880#FFFFFF#000000##FFFFFF
##1548801.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154880;
/* rgb */ color: rgb(21, 72, 128);
/* oklch */ color: oklch(40.0% 0.108 253.9);
Tailwind
colors: {
  custom: {
    50: '#657aa5',
    500: '#154880',
    950: '#000000',
  },
}
SCSS
$custom: #154880;
$custom-light: #657aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#154880",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 128
  },
  "hsl": {
    "h": 211.402,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.10818,
    "h": 253.9
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#154880
secondary
#B57B3C
accent
#9839EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154880

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

Preview Lab → · Contrast checker → · Palette generator →

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