#408BB7#408BB7

#408BB7 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.8% C 0.100 H 237.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#408BB7
RGBrgb(64, 139, 183)
HSLhsl(202, 48%, 48%)
HSVhsv(202, 65%, 72%)
CMYKcmyk(65%, 24%, 0%, 28.2%)
CIE-LABlab(55.04, -9.37, -29.91)
CIE-LCHlch(55.04, 31.34, 252.61°)
OKLaboklab(60.82% -0.0538 -0.084)
OKLCHoklch(60.82% 0.1 237.3)
XYZxyz(19.8909, 22.9721, 48.1763)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BB7 #B76C40
analogous
#40B7A7 #408BB7 #404FB7
triadic
#408BB7 #B7408B #8BB740
tetradic
#408BB7 #A740B7 #B76C40 #4FB740
square
#408BB7 #A740B7 #B76C40 #4FB740
split-complementary
#408BB7 #B7404F #B7A740
monochromatic
#20465C #30698A #408BB7 #69A7CB #97C2DB

Accessibility & contrast

On white

3.75
#408BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408BB7#FFFFFF#000000##000000
##408BB71.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB9
Deuteranopia (green-blind)
#667FB6
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408bb7;
/* rgb */ color: rgb(64, 139, 183);
/* oklch */ color: oklch(60.8% 0.100 237.3);
Tailwind
colors: {
  custom: {
    50: '#81accc',
    500: '#408bb7',
    950: '#000000',
  },
}
SCSS
$custom: #408bb7;
$custom-light: #81accc;
$custom-dark: #000000;
JSON
{
  "hex": "#408bb7",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 202.185,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.09977,
    "h": 237.3
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#408BB7
secondary
#C6A28D
accent
#8250D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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