#408FA8#408FA8

#408FA8 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.1% C 0.085 H 221.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#408FA8
RGBrgb(64, 143, 168)
HSLhsl(194, 45%, 45%)
HSVhsv(194, 62%, 66%)
CMYKcmyk(61.9%, 14.9%, 0%, 34.1%)
CIE-LABlab(55.64, -16.45, -20.41)
CIE-LCHlch(55.64, 26.21, 231.13°)
OKLaboklab(61.1% -0.0637 -0.0568)
OKLCHoklch(61.1% 0.085 221.7)
XYZxyz(19.0019, 23.5601, 40.5844)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FA8 #A85940
analogous
#40A88D #408FA8 #405BA8
triadic
#408FA8 #A8408F #8FA840
tetradic
#408FA8 #8D40A8 #A85940 #5BA840
square
#408FA8 #8D40A8 #A85940 #5BA840
split-complementary
#408FA8 #A8405B #A88D40
monochromatic
#1E444F #2F697C #408FA8 #62ACC3 #8EC3D4

Accessibility & contrast

On white

3.68
#408FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#408FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FA8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FA8#FFFFFF#000000##000000
##408FA81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CA9
Deuteranopia (green-blind)
#7180A8
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408fa8;
/* rgb */ color: rgb(64, 143, 168);
/* oklch */ color: oklch(61.1% 0.085 221.7);
Tailwind
colors: {
  custom: {
    50: '#7fb0c2',
    500: '#408fa8',
    950: '#000000',
  },
}
SCSS
$custom: #408fa8;
$custom-light: #7fb0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#408fa8",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 194.423,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.611,
    "c": 0.08538,
    "h": 221.7
  },
  "luminance": 0.23562
}

Semantic roles & 50–950 ramp

primary
#408FA8
secondary
#BF9385
accent
#7253D5
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#408FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva