#408CB4#408CB4

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

Color values

HEX#408CB4
RGBrgb(64, 140, 180)
HSLhsl(201, 48%, 48%)
HSVhsv(201, 64%, 71%)
CMYKcmyk(64.4%, 22.2%, 0%, 29.4%)
CIE-LABlab(55.22, -10.93, -27.93)
CIE-LCHlch(55.22, 29.99, 248.64°)
OKLaboklab(60.92% -0.056 -0.0783)
OKLCHoklch(60.92% 0.096 234.4)
XYZxyz(19.7275, 23.1394, 46.5979)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CB4 #B46840
analogous
#40B4A2 #408CB4 #4052B4
triadic
#408CB4 #B4408C #8CB440
tetradic
#408CB4 #A240B4 #B46840 #52B440
square
#408CB4 #A240B4 #B46840 #52B440
split-complementary
#408CB4 #B44052 #B4A240
monochromatic
#20465A #306987 #408CB4 #68A8C9 #95C2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408CB4#FFFFFF#000000##000000
##408CB41.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)
#798BB6
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408cb4;
/* rgb */ color: rgb(64, 140, 180);
/* oklch */ color: oklch(60.9% 0.096 234.4);
Tailwind
colors: {
  custom: {
    50: '#81adca',
    500: '#408cb4',
    950: '#000000',
  },
}
SCSS
$custom: #408cb4;
$custom-light: #81adca;
$custom-dark: #000000;
JSON
{
  "hex": "#408cb4",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 200.69,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60915,
    "c": 0.09623,
    "h": 234.4
  },
  "luminance": 0.23141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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