#408EB2#408EB2

#408EB2 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.3% C 0.094 H 231.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#408EB2
RGBrgb(64, 142, 178)
HSLhsl(199, 47%, 47%)
HSVhsv(199, 64%, 70%)
CMYKcmyk(64%, 20.2%, 0%, 30.2%)
CIE-LABlab(55.73, -12.70, -25.99)
CIE-LCHlch(55.73, 28.92, 243.96°)
OKLaboklab(61.3% -0.0588 -0.0727)
OKLCHoklch(61.3% 0.094 231)
XYZxyz(19.8201, 23.6483, 45.6309)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EB2 #B26440
analogous
#40B29D #408EB2 #4055B2
triadic
#408EB2 #B2408E #8EB240
tetradic
#408EB2 #9D40B2 #B26440 #55B240
square
#408EB2 #9D40B2 #B26440 #55B240
split-complementary
#408EB2 #B24055 #B29D40
monochromatic
#204658 #306A85 #408EB2 #67AAC8 #94C3D8

Accessibility & contrast

On white

3.66
#408EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#408EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EB2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EB2#FFFFFF#000000##000000
##408EB21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408eb2;
/* rgb */ color: rgb(64, 142, 178);
/* oklch */ color: oklch(61.3% 0.094 231.0);
Tailwind
colors: {
  custom: {
    50: '#81afc9',
    500: '#408eb2',
    950: '#000000',
  },
}
SCSS
$custom: #408eb2;
$custom-light: #81afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#408eb2",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 198.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.613,
    "c": 0.09354,
    "h": 231
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

primary
#408EB2
secondary
#C49C8A
accent
#7B51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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