#408EC2#408EC2

#408EC2 is a light, moderate cyan. Relative luminance 0.243; OKLCH L 62.1% C 0.110 H 240.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#408EC2
RGBrgb(64, 142, 194)
HSLhsl(204, 52%, 51%)
HSVhsv(204, 67%, 76%)
CMYKcmyk(67%, 26.8%, 0%, 23.9%)
CIE-LABlab(56.42, -7.38, -34.03)
CIE-LCHlch(56.42, 34.82, 257.76°)
OKLaboklab(62.07% -0.0533 -0.0959)
OKLCHoklch(62.07% 0.11 240.9)
XYZxyz(21.5212, 24.3288, 54.5902)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EC2 #C27440
analogous
#40C2B5 #408EC2 #404DC2
triadic
#408EC2 #C2408E #8EC240
tetradic
#408EC2 #B540C2 #C27440 #4DC240
square
#408EC2 #B540C2 #C27440 #4DC240
split-complementary
#408EC2 #C2404D #C2B540
monochromatic
#214B67 #306D95 #408EC2 #6EA9D1 #9DC5E0

Accessibility & contrast

On white

3.58
#408EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#408EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EC2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EC2#FFFFFF#000000##000000
##408EC21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC4
Deuteranopia (green-blind)
#6482C1
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408ec2;
/* rgb */ color: rgb(64, 142, 194);
/* oklch */ color: oklch(62.1% 0.110 240.9);
Tailwind
colors: {
  custom: {
    50: '#83aed4',
    500: '#408ec2',
    950: '#000000',
  },
}
SCSS
$custom: #408ec2;
$custom-light: #83aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#408ec2",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 204,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.10967,
    "h": 240.9
  },
  "luminance": 0.24331
}

Semantic roles & 50–950 ramp

primary
#408EC2
secondary
#CCA992
accent
#864DDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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