#408EB5#408EB5

#408EB5 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.4% C 0.096 H 233.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#408EB5
RGBrgb(64, 142, 181)
HSLhsl(200, 48%, 48%)
HSVhsv(200, 65%, 71%)
CMYKcmyk(64.6%, 21.5%, 0%, 29%)
CIE-LABlab(55.86, -11.72, -27.51)
CIE-LCHlch(55.86, 29.90, 246.93°)
OKLaboklab(61.44% -0.0577 -0.0771)
OKLCHoklch(61.44% 0.096 233.2)
XYZxyz(20.1246, 23.7701, 47.2346)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EB5 #B56740
analogous
#40B5A1 #408EB5 #4053B5
triadic
#408EB5 #B5408E #8EB540
tetradic
#408EB5 #A140B5 #B56740 #53B540
square
#408EB5 #A140B5 #B56740 #53B540
split-complementary
#408EB5 #B54053 #B5A140
monochromatic
#20475B #306B88 #408EB5 #68A9CA #96C3DA

Accessibility & contrast

On white

3.65
#408EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#408EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EB5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EB5#FFFFFF#000000##000000
##408EB51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408eb5;
/* rgb */ color: rgb(64, 142, 181);
/* oklch */ color: oklch(61.4% 0.096 233.2);
Tailwind
colors: {
  custom: {
    50: '#81afcb',
    500: '#408eb5',
    950: '#000000',
  },
}
SCSS
$custom: #408eb5;
$custom-light: #81afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#408eb5",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 200,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.0963,
    "h": 233.2
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#408EB5
secondary
#C59F8B
accent
#7D50D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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