#408DBD#408DBD

#408DBD is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.6% C 0.105 H 239.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#408DBD
RGBrgb(64, 141, 189)
HSLhsl(203, 49%, 50%)
HSVhsv(203, 66%, 74%)
CMYKcmyk(66.1%, 25.4%, 0%, 25.9%)
CIE-LABlab(55.90, -8.50, -32.00)
CIE-LCHlch(55.90, 33.11, 255.13°)
OKLaboklab(61.59% -0.0539 -0.09)
OKLCHoklch(61.59% 0.105 239.1)
XYZxyz(20.8210, 23.8117, 51.6331)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DBD #BD7040
analogous
#40BDAF #408DBD #404FBD
triadic
#408DBD #BD408D #8DBD40
tetradic
#408DBD #AF40BD #BD7040 #4FBD40
square
#408DBD #AF40BD #BD7040 #4FBD40
split-complementary
#408DBD #BD404F #BDAF40
monochromatic
#214962 #316B8F #408DBD #6DA8CD #9AC3DD

Accessibility & contrast

On white

3.64
#408DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#408DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DBD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DBD#FFFFFF#000000##000000
##408DBD1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DBF
Deuteranopia (green-blind)
#6680BC
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408dbd;
/* rgb */ color: rgb(64, 141, 189);
/* oklch */ color: oklch(61.6% 0.105 239.1);
Tailwind
colors: {
  custom: {
    50: '#82aed1',
    500: '#408dbd',
    950: '#000000',
  },
}
SCSS
$custom: #408dbd;
$custom-light: #82aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#408dbd",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 189
  },
  "hsl": {
    "h": 203.04,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.10491,
    "h": 239.1
  },
  "luminance": 0.23814
}

Semantic roles & 50–950 ramp

primary
#408DBD
secondary
#C9A690
accent
#844FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1014
muted
#7D7F82

Preview Lab

Preview with #408DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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