#408EC3#408EC3

#408EC3 is a light, moderate cyan. Relative luminance 0.244; OKLCH L 62.1% C 0.111 H 241.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#408EC3
RGBrgb(64, 142, 195)
HSLhsl(204, 52%, 51%)
HSVhsv(204, 67%, 76%)
CMYKcmyk(67.2%, 27.2%, 0%, 23.5%)
CIE-LABlab(56.46, -7.05, -34.53)
CIE-LCHlch(56.46, 35.24, 258.47°)
OKLaboklab(62.12% -0.053 -0.0973)
OKLCHoklch(62.12% 0.111 241.4)
XYZxyz(21.6339, 24.3738, 55.1837)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EC3 #C37540
analogous
#40C3B6 #408EC3 #404CC3
triadic
#408EC3 #C3408E #8EC340
tetradic
#408EC3 #B640C3 #C37540 #4CC340
square
#408EC3 #B640C3 #C37540 #4CC340
split-complementary
#408EC3 #C3404C #C3B640
monochromatic
#214B68 #2F6D97 #408EC3 #6FAAD2 #9DC5E0

Accessibility & contrast

On white

3.57
#408EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#408EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EC3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EC3#FFFFFF#000000##000000
##408EC31.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408ec3;
/* rgb */ color: rgb(64, 142, 195);
/* oklch */ color: oklch(62.1% 0.111 241.4);
Tailwind
colors: {
  custom: {
    50: '#83aed5',
    500: '#408ec3',
    950: '#000000',
  },
}
SCSS
$custom: #408ec3;
$custom-light: #83aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#408ec3",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 204.275,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.62117,
    "c": 0.11078,
    "h": 241.4
  },
  "luminance": 0.24376
}

Semantic roles & 50–950 ramp

primary
#408EC3
secondary
#CCAA92
accent
#864CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #408EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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