#408FC5#408FC5

#408FC5 is a light, moderate cyan. Relative luminance 0.248; OKLCH L 62.5% C 0.112 H 241.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#408FC5
RGBrgb(64, 143, 197)
HSLhsl(204, 53%, 51%)
HSVhsv(204, 68%, 77%)
CMYKcmyk(67.5%, 27.4%, 0%, 22.7%)
CIE-LABlab(56.84, -6.94, -35.06)
CIE-LCHlch(56.84, 35.74, 258.80°)
OKLaboklab(62.45% -0.0533 -0.0988)
OKLCHoklch(62.45% 0.112 241.6)
XYZxyz(22.0110, 24.7638, 56.4324)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FC5 #C57640
analogous
#40C5B8 #408FC5 #404CC5
triadic
#408FC5 #C5408F #8FC540
tetradic
#408FC5 #B840C5 #C57640 #4CC540
square
#408FC5 #B840C5 #C57640 #4CC540
split-complementary
#408FC5 #C5404C #C5B840
monochromatic
#204C6A #2F6E99 #408FC5 #6FABD3 #9EC6E2

Accessibility & contrast

On white

3.53
#408FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#408FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FC5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FC5#FFFFFF#000000##000000
##408FC51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7690C7
Deuteranopia (green-blind)
#6483C4
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #408fc5;
/* rgb */ color: rgb(64, 143, 197);
/* oklch */ color: oklch(62.5% 0.112 241.6);
Tailwind
colors: {
  custom: {
    50: '#83afd7',
    500: '#408fc5',
    950: '#000000',
  },
}
SCSS
$custom: #408fc5;
$custom-light: #83afd7;
$custom-dark: #000000;
JSON
{
  "hex": "#408fc5",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 197
  },
  "hsl": {
    "h": 204.361,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.1123,
    "h": 241.6
  },
  "luminance": 0.24766
}

Semantic roles & 50–950 ramp

primary
#408FC5
secondary
#CEAB93
accent
#864BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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