#154881#154881

#154881 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.110 H 254.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#154881
RGBrgb(21, 72, 129)
HSLhsl(212, 72%, 29%)
HSVhsv(212, 84%, 51%)
CMYKcmyk(83.7%, 44.2%, 0%, 49.4%)
CIE-LABlab(30.35, 5.61, -36.82)
CIE-LCHlch(30.35, 37.25, 278.66°)
OKLaboklab(40.08% -0.0297 -0.1055)
OKLCHoklch(40.08% 0.11 254.3)
XYZxyz(6.5876, 6.3783, 21.6486)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154881 #814E15
analogous
#157E81 #154881 #181581
triadic
#154881 #811548 #488115
tetradic
#154881 #81157E #814E15 #158118
square
#154881 #81157E #814E15 #158118
split-complementary
#154881 #811815 #7E8115
monochromatic
#040F1A #0C2B4C #154881 #1E65B6 #3383DE

Accessibility & contrast

On white

9.23
#154881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#154881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154881
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154881#FFFFFF#000000##FFFFFF
##1548811.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154881;
/* rgb */ color: rgb(21, 72, 129);
/* oklch */ color: oklch(40.1% 0.110 254.3);
Tailwind
colors: {
  custom: {
    50: '#667aa6',
    500: '#154881',
    950: '#000000',
  },
}
SCSS
$custom: #154881;
$custom-light: #667aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#154881",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 211.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.10959,
    "h": 254.3
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#154881
secondary
#B67C3C
accent
#9939EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #154881

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

Preview Lab → · Contrast checker → · Palette generator →

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