#408CB7#408CB7

#408CB7 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.1% C 0.099 H 236.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#408CB7
RGBrgb(64, 140, 183)
HSLhsl(202, 48%, 48%)
HSVhsv(202, 65%, 72%)
CMYKcmyk(65%, 23.5%, 0%, 28.2%)
CIE-LABlab(55.34, -9.93, -29.45)
CIE-LCHlch(55.34, 31.08, 251.36°)
OKLaboklab(61.06% -0.0549 -0.0826)
OKLCHoklch(61.06% 0.099 236.4)
XYZxyz(20.0364, 23.2630, 48.2248)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CB7 #B76B40
analogous
#40B7A6 #408CB7 #4050B7
triadic
#408CB7 #B7408C #8CB740
tetradic
#408CB7 #A640B7 #B76B40 #50B740
square
#408CB7 #A640B7 #B76B40 #50B740
split-complementary
#408CB7 #B74050 #B7A640
monochromatic
#20475C #30698A #408CB7 #69A8CB #97C2DB

Accessibility & contrast

On white

3.71
#408CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##408CB7#FFFFFF#000000##000000
##408CB71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB9
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408cb7;
/* rgb */ color: rgb(64, 140, 183);
/* oklch */ color: oklch(61.1% 0.099 236.4);
Tailwind
colors: {
  custom: {
    50: '#81adcc',
    500: '#408cb7',
    950: '#000000',
  },
}
SCSS
$custom: #408cb7;
$custom-light: #81adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#408cb7",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 201.681,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.09922,
    "h": 236.4
  },
  "luminance": 0.23265
}

Semantic roles & 50–950 ramp

primary
#408CB7
secondary
#C6A18D
accent
#8150D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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