#408DB5#408DB5

#408DB5 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.2% C 0.097 H 234.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#408DB5
RGBrgb(64, 141, 181)
HSLhsl(201, 48%, 48%)
HSVhsv(201, 65%, 71%)
CMYKcmyk(64.6%, 22.1%, 0%, 29%)
CIE-LABlab(55.56, -11.16, -27.97)
CIE-LCHlch(55.56, 30.12, 248.26°)
OKLaboklab(61.2% -0.0567 -0.0784)
OKLCHoklch(61.2% 0.097 234.1)
XYZxyz(19.9765, 23.4739, 47.1852)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DB5 #B56840
analogous
#40B5A2 #408DB5 #4052B5
triadic
#408DB5 #B5408D #8DB540
tetradic
#408DB5 #A240B5 #B56840 #52B540
square
#408DB5 #A240B5 #B56840 #52B540
split-complementary
#408DB5 #B54052 #B5A240
monochromatic
#20475B #306A88 #408DB5 #68A8CA #96C2DA

Accessibility & contrast

On white

3.69
#408DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#408DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DB5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DB5#FFFFFF#000000##000000
##408DB51.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408db5;
/* rgb */ color: rgb(64, 141, 181);
/* oklch */ color: oklch(61.2% 0.097 234.1);
Tailwind
colors: {
  custom: {
    50: '#81aecb',
    500: '#408db5',
    950: '#000000',
  },
}
SCSS
$custom: #408db5;
$custom-light: #81aecb;
$custom-dark: #000000;
JSON
{
  "hex": "#408db5",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 181
  },
  "hsl": {
    "h": 200.513,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61201,
    "c": 0.09674,
    "h": 234.1
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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