#408CC2#408CC2

#408CC2 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.6% C 0.111 H 242.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#408CC2
RGBrgb(64, 140, 194)
HSLhsl(205, 52%, 51%)
HSVhsv(205, 67%, 76%)
CMYKcmyk(67%, 27.8%, 0%, 23.9%)
CIE-LABlab(55.83, -6.24, -34.95)
CIE-LCHlch(55.83, 35.50, 259.88°)
OKLaboklab(61.6% -0.0512 -0.0985)
OKLCHoklch(61.6% 0.111 242.5)
XYZxyz(21.2263, 23.7390, 54.4919)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CC2 #C27640
analogous
#40C2B7 #408CC2 #404BC2
triadic
#408CC2 #C2408C #8CC240
tetradic
#408CC2 #B740C2 #C27640 #4BC240
square
#408CC2 #B740C2 #C27640 #4BC240
split-complementary
#408CC2 #C2404B #C2B740
monochromatic
#214A67 #306B95 #408CC2 #6EA8D1 #9DC4E0

Accessibility & contrast

On white

3.65
#408CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#408CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CC2#FFFFFF#000000##000000
##408CC21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC4
Deuteranopia (green-blind)
#6280C1
Tritanopia (blue-blind)
#00999F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408cc2;
/* rgb */ color: rgb(64, 140, 194);
/* oklch */ color: oklch(61.6% 0.111 242.5);
Tailwind
colors: {
  custom: {
    50: '#83add4',
    500: '#408cc2',
    950: '#000000',
  },
}
SCSS
$custom: #408cc2;
$custom-light: #83add4;
$custom-dark: #000000;
JSON
{
  "hex": "#408cc2",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 204.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.616,
    "c": 0.11107,
    "h": 242.5
  },
  "luminance": 0.23741
}

Semantic roles & 50–950 ramp

primary
#408CC2
secondary
#CCAA92
accent
#884DDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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