#408DAF#408DAF

#408DAF is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.9% C 0.091 H 229.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#408DAF
RGBrgb(64, 141, 175)
HSLhsl(198, 46%, 47%)
HSVhsv(198, 63%, 69%)
CMYKcmyk(63.4%, 19.4%, 0%, 31.4%)
CIE-LABlab(55.31, -13.12, -24.93)
CIE-LCHlch(55.31, 28.17, 242.25°)
OKLaboklab(60.92% -0.0589 -0.0697)
OKLCHoklch(60.92% 0.091 229.8)
XYZxyz(19.3741, 23.2329, 44.0125)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DAF #AF6240
analogous
#40AF9A #408DAF #4056AF
triadic
#408DAF #AF408D #8DAF40
tetradic
#408DAF #9A40AF #AF6240 #56AF40
square
#408DAF #9A40AF #AF6240 #56AF40
split-complementary
#408DAF #AF4056 #AF9A40
monochromatic
#1F4555 #306982 #408DAF #65A9C7 #92C2D7

Accessibility & contrast

On white

3.72
#408DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#408DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DAF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DAF#FFFFFF#000000##000000
##408DAF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB1
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408daf;
/* rgb */ color: rgb(64, 141, 175);
/* oklch */ color: oklch(60.9% 0.091 229.8);
Tailwind
colors: {
  custom: {
    50: '#80aec7',
    500: '#408daf',
    950: '#000000',
  },
}
SCSS
$custom: #408daf;
$custom-light: #80aec7;
$custom-dark: #000000;
JSON
{
  "hex": "#408daf",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 198.378,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.09121,
    "h": 229.8
  },
  "luminance": 0.23235
}

Semantic roles & 50–950 ramp

primary
#408DAF
secondary
#C39A88
accent
#7A52D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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