#408FAF#408FAF

#408FAF is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.4% C 0.091 H 227.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#408FAF
RGBrgb(64, 143, 175)
HSLhsl(197, 46%, 47%)
HSVhsv(197, 63%, 69%)
CMYKcmyk(63.4%, 18.3%, 0%, 31.4%)
CIE-LABlab(55.92, -14.22, -24.00)
CIE-LCHlch(55.92, 27.89, 239.35°)
OKLaboklab(61.41% -0.061 -0.067)
OKLCHoklch(61.41% 0.091 227.7)
XYZxyz(19.6716, 23.8280, 44.1117)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FAF #AF6040
analogous
#40AF98 #408FAF #4058AF
triadic
#408FAF #AF408F #8FAF40
tetradic
#408FAF #9840AF #AF6040 #58AF40
square
#408FAF #9840AF #AF6040 #58AF40
split-complementary
#408FAF #AF4058 #AF9840
monochromatic
#1F4655 #306A82 #408FAF #65ABC7 #92C3D7

Accessibility & contrast

On white

3.64
#408FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#408FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FAF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FAF#FFFFFF#000000##000000
##408FAF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB1
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408faf;
/* rgb */ color: rgb(64, 143, 175);
/* oklch */ color: oklch(61.4% 0.091 227.7);
Tailwind
colors: {
  custom: {
    50: '#80afc7',
    500: '#408faf',
    950: '#000000',
  },
}
SCSS
$custom: #408faf;
$custom-light: #80afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#408faf",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 175
  },
  "hsl": {
    "h": 197.297,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.09064,
    "h": 227.7
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#408FAF
secondary
#C39988
accent
#7852D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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