#408CBB#408CBB

#408CBB is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.3% C 0.103 H 238.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#408CBB
RGBrgb(64, 140, 187)
HSLhsl(203, 49%, 49%)
HSVhsv(203, 66%, 73%)
CMYKcmyk(65.8%, 25.1%, 0%, 26.7%)
CIE-LABlab(55.51, -8.60, -31.46)
CIE-LCHlch(55.51, 32.61, 254.71°)
OKLaboklab(61.25% -0.0535 -0.0884)
OKLCHoklch(61.25% 0.103 238.8)
XYZxyz(20.4586, 23.4319, 50.4487)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CBB #BB6F40
analogous
#40BBAD #408CBB #404FBB
triadic
#408CBB #BB408C #8CBB40
tetradic
#408CBB #AD40BB #BB6F40 #4FBB40
square
#408CBB #AD40BB #BB6F40 #4FBB40
split-complementary
#408CBB #BB404F #BBAD40
monochromatic
#214860 #306A8D #408CBB #6CA8CD #99C3DC

Accessibility & contrast

On white

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

On black

5.69
#408CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CBB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CBB#FFFFFF#000000##000000
##408CBB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBD
Deuteranopia (green-blind)
#6580BA
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408cbb;
/* rgb */ color: rgb(64, 140, 187);
/* oklch */ color: oklch(61.3% 0.103 238.8);
Tailwind
colors: {
  custom: {
    50: '#82adcf',
    500: '#408cbb',
    950: '#000000',
  },
}
SCSS
$custom: #408cbb;
$custom-light: #82adcf;
$custom-dark: #000000;
JSON
{
  "hex": "#408cbb",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 187
  },
  "hsl": {
    "h": 202.927,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.10339,
    "h": 238.8
  },
  "luminance": 0.23434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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