#407ECD#407ECD

#407ECD is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.0% C 0.137 H 255.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#407ECD
RGBrgb(64, 126, 205)
HSLhsl(214, 59%, 53%)
HSVhsv(214, 69%, 80%)
CMYKcmyk(68.8%, 38.5%, 0%, 19.6%)
CIE-LABlab(52.31, 5.87, -46.75)
CIE-LCHlch(52.31, 47.11, 277.16°)
OKLaboklab(59.01% -0.0342 -0.1331)
OKLCHoklch(59.01% 0.137 255.6)
XYZxyz(20.5906, 20.4173, 60.6016)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ECD #CD8F40
analogous
#40C4CD #407ECD #4840CD
triadic
#407ECD #CD407E #7ECD40
tetradic
#407ECD #CD40C4 #CD8F40 #40CD48
square
#407ECD #CD40C4 #CD8F40 #40CD48
split-complementary
#407ECD #CD4840 #C4CD40
monochromatic
#1E4474 #2B61A5 #407ECD #719FDA #A1C0E6

Accessibility & contrast

On white

4.13
#407ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#407ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ECD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ECD#FFFFFF#000000##000000
##407ECD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407ecd;
/* rgb */ color: rgb(64, 126, 205);
/* oklch */ color: oklch(59.0% 0.137 255.6);
Tailwind
colors: {
  custom: {
    50: '#84a2dc',
    500: '#407ecd',
    950: '#000000',
  },
}
SCSS
$custom: #407ecd;
$custom-light: #84a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#407ecd",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 213.617,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.13744,
    "h": 255.6
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#407ECD
secondary
#D3B896
accent
#9D46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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