#408EAF#408EAF

#408EAF is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.2% C 0.091 H 228.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#408EAF
RGBrgb(64, 142, 175)
HSLhsl(198, 46%, 47%)
HSVhsv(198, 63%, 69%)
CMYKcmyk(63.4%, 18.9%, 0%, 31.4%)
CIE-LABlab(55.61, -13.67, -24.46)
CIE-LCHlch(55.61, 28.02, 240.80°)
OKLaboklab(61.16% -0.0599 -0.0683)
OKLCHoklch(61.16% 0.091 228.7)
XYZxyz(19.5222, 23.5291, 44.0619)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EAF #AF6140
analogous
#40AF99 #408EAF #4056AF
triadic
#408EAF #AF408E #8EAF40
tetradic
#408EAF #9940AF #AF6140 #56AF40
square
#408EAF #9940AF #AF6140 #56AF40
split-complementary
#408EAF #AF4056 #AF9940
monochromatic
#1F4555 #306A82 #408EAF #65AAC7 #92C3D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408EAF#FFFFFF#000000##000000
##408EAF1.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)
#7D8CB1
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408eaf;
/* rgb */ color: rgb(64, 142, 175);
/* oklch */ color: oklch(61.2% 0.091 228.7);
Tailwind
colors: {
  custom: {
    50: '#80afc7',
    500: '#408eaf',
    950: '#000000',
  },
}
SCSS
$custom: #408eaf;
$custom-light: #80afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#408eaf",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 197.838,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.09091,
    "h": 228.7
  },
  "luminance": 0.23531
}

Semantic roles & 50–950 ramp

primary
#408EAF
secondary
#C39A88
accent
#7952D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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