#40808F#40808F

#40808F is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.069 H 215.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#40808F
RGBrgb(64, 128, 143)
HSLhsl(191, 38%, 41%)
HSVhsv(191, 55%, 56%)
CMYKcmyk(55.2%, 10.5%, 0%, 43.9%)
CIE-LABlab(50.11, -16.02, -14.36)
CIE-LCHlch(50.11, 21.52, 221.88°)
OKLaboklab(56.36% -0.0567 -0.0397)
OKLCHoklch(56.36% 0.069 215)
XYZxyz(14.7895, 18.5102, 28.7747)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40808F #8F4F40
analogous
#408F76 #40808F #40598F
triadic
#40808F #8F4080 #808F40
tetradic
#40808F #76408F #8F4F40 #598F40
square
#40808F #76408F #8F4F40 #598F40
split-complementary
#40808F #8F4059 #8F7640
monochromatic
#1A343A #2D5A65 #40808F #58A3B4 #82BAC7

Accessibility & contrast

On white

4.47
#40808F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#40808F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40808F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40808F#FFFFFF#000000##000000
##40808F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C90
Deuteranopia (green-blind)
#69738F
Tritanopia (blue-blind)
#008685
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #40808f;
/* rgb */ color: rgb(64, 128, 143);
/* oklch */ color: oklch(56.4% 0.069 215.0);
Tailwind
colors: {
  custom: {
    50: '#7ca5af',
    500: '#40808f',
    950: '#000000',
  },
}
SCSS
$custom: #40808f;
$custom-light: #7ca5af;
$custom-dark: #000000;
JSON
{
  "hex": "#40808f",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 143
  },
  "hsl": {
    "h": 191.392,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.06929,
    "h": 215
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#40808F
secondary
#B28479
accent
#705ACE
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #40808F

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

Preview Lab → · Contrast checker → · Palette generator →

#40808F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva