#408498#408498

#408498 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 57.7% C 0.075 H 219.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#408498
RGBrgb(64, 132, 152)
HSLhsl(194, 41%, 42%)
HSVhsv(194, 58%, 60%)
CMYKcmyk(57.9%, 13.2%, 0%, 40.4%)
CIE-LABlab(51.68, -15.45, -17.23)
CIE-LCHlch(51.68, 23.15, 228.12°)
OKLaboklab(57.73% -0.0577 -0.0478)
OKLCHoklch(57.73% 0.075 219.6)
XYZxyz(16.0309, 19.8580, 32.6878)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408498 #985440
analogous
#409880 #408498 #405898
triadic
#408498 #984084 #849840
tetradic
#408498 #804098 #985440 #589840
square
#408498 #804098 #985440 #589840
split-complementary
#408498 #984058 #988040
monochromatic
#1C3942 #2E5F6D #408498 #5BA4BA #86BCCC

Accessibility & contrast

On white

4.22
#408498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#408498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408498
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408498#FFFFFF#000000##000000
##4084981.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#788199
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#008B8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408498;
/* rgb */ color: rgb(64, 132, 152);
/* oklch */ color: oklch(57.7% 0.075 219.6);
Tailwind
colors: {
  custom: {
    50: '#7da8b6',
    500: '#408498',
    950: '#000000',
  },
}
SCSS
$custom: #408498;
$custom-light: #7da8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#408498",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 152
  },
  "hsl": {
    "h": 193.636,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.07497,
    "h": 219.6
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#408498
secondary
#B78A7D
accent
#7357D1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #408498

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

Preview Lab → · Contrast checker → · Palette generator →

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