#407ECE#407ECE

#407ECE is a mid, vivid cyan. Relative luminance 0.205; OKLCH L 59.1% C 0.139 H 255.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#407ECE
RGBrgb(64, 126, 206)
HSLhsl(214, 59%, 53%)
HSVhsv(214, 69%, 81%)
CMYKcmyk(68.9%, 38.8%, 0%, 19.2%)
CIE-LABlab(52.36, 6.23, -47.23)
CIE-LCHlch(52.36, 47.64, 277.51°)
OKLaboklab(59.07% -0.034 -0.1345)
OKLCHoklch(59.07% 0.139 255.8)
XYZxyz(20.7117, 20.4658, 61.2393)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ECE #CE9040
analogous
#40C5CE #407ECE #4940CE
triadic
#407ECE #CE407E #7ECE40
tetradic
#407ECE #CE40C5 #CE9040 #40CE49
square
#407ECE #CE40C5 #CE9040 #40CE49
split-complementary
#407ECE #CE4940 #C5CE40
monochromatic
#1E4475 #2B61A6 #407ECE #719FDA #A1C0E7

Accessibility & contrast

On white

4.12
#407ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#407ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ECE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ECE#FFFFFF#000000##000000
##407ECE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407ece;
/* rgb */ color: rgb(64, 126, 206);
/* oklch */ color: oklch(59.1% 0.139 255.8);
Tailwind
colors: {
  custom: {
    50: '#84a2dd',
    500: '#407ece',
    950: '#000000',
  },
}
SCSS
$custom: #407ece;
$custom-light: #84a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#407ece",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 213.803,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.13875,
    "h": 255.8
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#407ECE
secondary
#D4B996
accent
#9E45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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