#408CAF#408CAF

#408CAF is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.7% C 0.092 H 230.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#408CAF
RGBrgb(64, 140, 175)
HSLhsl(199, 46%, 47%)
HSVhsv(199, 63%, 69%)
CMYKcmyk(63.4%, 20%, 0%, 31.4%)
CIE-LABlab(55.01, -12.56, -25.39)
CIE-LCHlch(55.01, 28.33, 243.68°)
OKLaboklab(60.68% -0.0578 -0.071)
OKLCHoklch(60.68% 0.092 230.9)
XYZxyz(19.2273, 22.9393, 43.9636)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CAF #AF6340
analogous
#40AF9B #408CAF #4054AF
triadic
#408CAF #AF408C #8CAF40
tetradic
#408CAF #9B40AF #AF6340 #54AF40
square
#408CAF #9B40AF #AF6340 #54AF40
split-complementary
#408CAF #AF4054 #AF9B40
monochromatic
#1F4455 #306882 #408CAF #65A8C7 #92C1D7

Accessibility & contrast

On white

3.76
#408CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#408CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CAF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CAF#FFFFFF#000000##000000
##408CAF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408caf;
/* rgb */ color: rgb(64, 140, 175);
/* oklch */ color: oklch(60.7% 0.092 230.9);
Tailwind
colors: {
  custom: {
    50: '#80adc7',
    500: '#408caf',
    950: '#000000',
  },
}
SCSS
$custom: #408caf;
$custom-light: #80adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#408caf",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 198.919,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.09154,
    "h": 230.9
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#408CAF
secondary
#C39B88
accent
#7B52D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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