#408FB5#408FB5

#408FB5 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.7% C 0.096 H 232.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#408FB5
RGBrgb(64, 143, 181)
HSLhsl(199, 48%, 48%)
HSVhsv(199, 65%, 71%)
CMYKcmyk(64.6%, 21%, 0%, 29%)
CIE-LABlab(56.16, -12.27, -27.05)
CIE-LCHlch(56.16, 29.70, 245.59°)
OKLaboklab(61.68% -0.0588 -0.0757)
OKLCHoklch(61.68% 0.096 232.2)
XYZxyz(20.2740, 24.0690, 47.2844)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FB5 #B56640
analogous
#40B5A0 #408FB5 #4055B5
triadic
#408FB5 #B5408F #8FB540
tetradic
#408FB5 #A040B5 #B56640 #55B540
square
#408FB5 #A040B5 #B56640 #55B540
split-complementary
#408FB5 #B54055 #B5A040
monochromatic
#20485B #306B88 #408FB5 #68AACA #96C4DA

Accessibility & contrast

On white

3.61
#408FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#408FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FB5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FB5#FFFFFF#000000##000000
##408FB51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB7
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408fb5;
/* rgb */ color: rgb(64, 143, 181);
/* oklch */ color: oklch(61.7% 0.096 232.2);
Tailwind
colors: {
  custom: {
    50: '#81afcb',
    500: '#408fb5',
    950: '#000000',
  },
}
SCSS
$custom: #408fb5;
$custom-light: #81afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#408fb5",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 199.487,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.09588,
    "h": 232.2
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#408FB5
secondary
#C59E8B
accent
#7C50D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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