#408BB5#408BB5

#408BB5 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.7% C 0.098 H 236.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#408BB5
RGBrgb(64, 139, 181)
HSLhsl(202, 48%, 48%)
HSVhsv(202, 65%, 71%)
CMYKcmyk(64.6%, 23.2%, 0%, 29%)
CIE-LABlab(54.96, -10.03, -28.90)
CIE-LCHlch(54.96, 30.59, 250.86°)
OKLaboklab(60.72% -0.0545 -0.0811)
OKLCHoklch(60.72% 0.098 236.1)
XYZxyz(19.6842, 22.8894, 47.0878)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BB5 #B56A40
analogous
#40B5A4 #408BB5 #4051B5
triadic
#408BB5 #B5408B #8BB540
tetradic
#408BB5 #A440B5 #B56A40 #51B540
square
#408BB5 #A440B5 #B56A40 #51B540
split-complementary
#408BB5 #B54051 #B5A440
monochromatic
#20465B #306888 #408BB5 #68A7CA #96C1DA

Accessibility & contrast

On white

3.76
#408BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#408BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BB5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BB5#FFFFFF#000000##000000
##408BB51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB7
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408bb5;
/* rgb */ color: rgb(64, 139, 181);
/* oklch */ color: oklch(60.7% 0.098 236.1);
Tailwind
colors: {
  custom: {
    50: '#81accb',
    500: '#408bb5',
    950: '#000000',
  },
}
SCSS
$custom: #408bb5;
$custom-light: #81accb;
$custom-dark: #000000;
JSON
{
  "hex": "#408bb5",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 201.538,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.09772,
    "h": 236.1
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#408BB5
secondary
#C5A08B
accent
#8150D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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