#408CC4#408CC4

#408CC4 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.7% C 0.113 H 243.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#408CC4
RGBrgb(64, 140, 196)
HSLhsl(205, 53%, 51%)
HSVhsv(205, 67%, 77%)
CMYKcmyk(67.3%, 28.6%, 0%, 23.1%)
CIE-LABlab(55.92, -5.56, -35.94)
CIE-LCHlch(55.92, 36.37, 261.21°)
OKLaboklab(61.7% -0.0506 -0.1014)
OKLCHoklch(61.7% 0.113 243.5)
XYZxyz(21.4525, 23.8294, 55.6828)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CC4 #C47840
analogous
#40C4BA #408CC4 #404AC4
triadic
#408CC4 #C4408C #8CC440
tetradic
#408CC4 #BA40C4 #C47840 #4AC440
square
#408CC4 #BA40C4 #C47840 #4AC440
split-complementary
#408CC4 #C4404A #C4BA40
monochromatic
#204A69 #2F6B98 #408CC4 #6FA8D2 #9EC4E1

Accessibility & contrast

On white

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

On black

5.77
#408CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CC4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CC4#FFFFFF#000000##000000
##408CC41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738DC6
Deuteranopia (green-blind)
#6180C3
Tritanopia (blue-blind)
#009AA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408cc4;
/* rgb */ color: rgb(64, 140, 196);
/* oklch */ color: oklch(61.7% 0.113 243.5);
Tailwind
colors: {
  custom: {
    50: '#83add6',
    500: '#408cc4',
    950: '#000000',
  },
}
SCSS
$custom: #408cc4;
$custom-light: #83add6;
$custom-dark: #000000;
JSON
{
  "hex": "#408cc4",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 196
  },
  "hsl": {
    "h": 205.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.11334,
    "h": 243.5
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#408CC4
secondary
#CDAB93
accent
#894CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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