#408CB2#408CB2

#408CB2 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.094 H 233.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#408CB2
RGBrgb(64, 140, 178)
HSLhsl(200, 47%, 47%)
HSVhsv(200, 64%, 70%)
CMYKcmyk(64%, 21.3%, 0%, 30.2%)
CIE-LABlab(55.13, -11.58, -26.92)
CIE-LCHlch(55.13, 29.30, 246.72°)
OKLaboklab(60.82% -0.0567 -0.0754)
OKLCHoklch(60.82% 0.094 233.1)
XYZxyz(19.5252, 23.0585, 45.5326)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CB2 #B26640
analogous
#40B29F #408CB2 #4053B2
triadic
#408CB2 #B2408C #8CB240
tetradic
#408CB2 #9F40B2 #B26640 #53B240
square
#408CB2 #9F40B2 #B26640 #53B240
split-complementary
#408CB2 #B24053 #B29F40
monochromatic
#204558 #306985 #408CB2 #67A8C8 #94C2D8

Accessibility & contrast

On white

3.74
#408CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#408CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CB2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CB2#FFFFFF#000000##000000
##408CB21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB4
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408cb2;
/* rgb */ color: rgb(64, 140, 178);
/* oklch */ color: oklch(60.8% 0.094 233.1);
Tailwind
colors: {
  custom: {
    50: '#80adc9',
    500: '#408cb2',
    950: '#000000',
  },
}
SCSS
$custom: #408cb2;
$custom-light: #80adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#408cb2",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 200,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60822,
    "c": 0.09431,
    "h": 233.1
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#408CB2
secondary
#C49D8A
accent
#7E51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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