#408BBB#408BBB

#408BBB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.0% C 0.104 H 239.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#408BBB
RGBrgb(64, 139, 187)
HSLhsl(203, 49%, 49%)
HSVhsv(203, 66%, 73%)
CMYKcmyk(65.8%, 25.7%, 0%, 26.7%)
CIE-LABlab(55.22, -8.03, -31.92)
CIE-LCHlch(55.22, 32.92, 255.88°)
OKLaboklab(61.02% -0.0525 -0.0898)
OKLCHoklch(61.02% 0.104 239.7)
XYZxyz(20.3132, 23.1410, 50.4002)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BBB #BB7040
analogous
#40BBAE #408BBB #404DBB
triadic
#408BBB #BB408B #8BBB40
tetradic
#408BBB #AE40BB #BB7040 #4DBB40
square
#408BBB #AE40BB #BB7040 #4DBB40
split-complementary
#408BBB #BB404D #BBAE40
monochromatic
#214760 #30698D #408BBB #6CA7CD #99C2DC

Accessibility & contrast

On white

3.73
#408BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#408BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BBB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BBB#FFFFFF#000000##000000
##408BBB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBD
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408bbb;
/* rgb */ color: rgb(64, 139, 187);
/* oklch */ color: oklch(61.0% 0.104 239.7);
Tailwind
colors: {
  custom: {
    50: '#82accf',
    500: '#408bbb',
    950: '#000000',
  },
}
SCSS
$custom: #408bbb;
$custom-light: #82accf;
$custom-dark: #000000;
JSON
{
  "hex": "#408bbb",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 203.415,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.104,
    "h": 239.7
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#408BBB
secondary
#C8A58F
accent
#854FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #408BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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