#408EB0#408EB0

#408EB0 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.092 H 229.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#408EB0
RGBrgb(64, 142, 176)
HSLhsl(198, 47%, 47%)
HSVhsv(198, 64%, 69%)
CMYKcmyk(63.6%, 19.3%, 0%, 31%)
CIE-LABlab(55.65, -13.35, -24.97)
CIE-LCHlch(55.65, 28.31, 241.88°)
OKLaboklab(61.21% -0.0596 -0.0698)
OKLCHoklch(61.21% 0.092 229.5)
XYZxyz(19.6208, 23.5686, 44.5810)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EB0 #B06240
analogous
#40B09A #408EB0 #4056B0
triadic
#408EB0 #B0408E #8EB040
tetradic
#408EB0 #9A40B0 #B06240 #56B040
square
#408EB0 #9A40B0 #B06240 #56B040
split-complementary
#408EB0 #B04056 #B09A40
monochromatic
#1F4656 #306A83 #408EB0 #66AAC7 #93C3D8

Accessibility & contrast

On white

3.68
#408EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#408EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EB0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EB0#FFFFFF#000000##000000
##408EB01.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB2
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408eb0;
/* rgb */ color: rgb(64, 142, 176);
/* oklch */ color: oklch(61.2% 0.092 229.5);
Tailwind
colors: {
  custom: {
    50: '#80afc7',
    500: '#408eb0',
    950: '#000000',
  },
}
SCSS
$custom: #408eb0;
$custom-light: #80afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#408eb0",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 176
  },
  "hsl": {
    "h": 198.214,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.09176,
    "h": 229.5
  },
  "luminance": 0.23571
}

Semantic roles & 50–950 ramp

primary
#408EB0
secondary
#C39A89
accent
#7A51D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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