#407EC0#407EC0

#407EC0 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.121 H 251.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#407EC0
RGBrgb(64, 126, 192)
HSLhsl(211, 50%, 50%)
HSVhsv(211, 67%, 75%)
CMYKcmyk(66.7%, 34.4%, 0%, 24.7%)
CIE-LABlab(51.63, 1.29, -40.41)
CIE-LCHlch(51.63, 40.43, 271.84°)
OKLaboklab(58.26% -0.0375 -0.1146)
OKLCHoklch(58.26% 0.121 251.9)
XYZxyz(19.0861, 19.8155, 52.6779)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EC0 #C08240
analogous
#40BEC0 #407EC0 #4240C0
triadic
#407EC0 #C0407E #7EC040
tetradic
#407EC0 #C040BE #C08240 #40C042
square
#407EC0 #C040BE #C08240 #40C042
split-complementary
#407EC0 #C04240 #BEC040
monochromatic
#214264 #306092 #407EC0 #6E9DCF #9CBCDE

Accessibility & contrast

On white

4.23
#407EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#407EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EC0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EC0#FFFFFF#000000##000000
##407EC01.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C3
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ec0;
/* rgb */ color: rgb(64, 126, 192);
/* oklch */ color: oklch(58.3% 0.121 251.9);
Tailwind
colors: {
  custom: {
    50: '#82a3d3',
    500: '#407ec0',
    950: '#000000',
  },
}
SCSS
$custom: #407ec0;
$custom-light: #82a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#407ec0",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 210.938,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.12055,
    "h": 251.9
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#407EC0
secondary
#CBAF91
accent
#964EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407EC0

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

Preview Lab → · Contrast checker → · Palette generator →

#407EC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva