#407ECA#407ECA

#407ECA is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.134 H 254.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#407ECA
RGBrgb(64, 126, 202)
HSLhsl(213, 57%, 52%)
HSVhsv(213, 68%, 79%)
CMYKcmyk(68.3%, 37.6%, 0%, 20.8%)
CIE-LABlab(52.15, 4.81, -45.30)
CIE-LCHlch(52.15, 45.55, 276.06°)
OKLaboklab(58.84% -0.0349 -0.1289)
OKLCHoklch(58.84% 0.134 254.8)
XYZxyz(20.2320, 20.2739, 58.7127)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ECA #CA8C40
analogous
#40C3CA #407ECA #4740CA
triadic
#407ECA #CA407E #7ECA40
tetradic
#407ECA #CA40C3 #CA8C40 #40CA47
square
#407ECA #CA40C3 #CA8C40 #40CA47
split-complementary
#407ECA #CA4740 #C3CA40
monochromatic
#1F4470 #2C61A0 #407ECA #709ED7 #A0BFE5

Accessibility & contrast

On white

4.15
#407ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#407ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ECA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ECA#FFFFFF#000000##000000
##407ECA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407eca;
/* rgb */ color: rgb(64, 126, 202);
/* oklch */ color: oklch(58.8% 0.134 254.8);
Tailwind
colors: {
  custom: {
    50: '#84a2da',
    500: '#407eca',
    950: '#000000',
  },
}
SCSS
$custom: #407eca;
$custom-light: #84a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#407eca",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 213.043,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.13351,
    "h": 254.8
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#407ECA
secondary
#D1B695
accent
#9C48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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