#407DC7#407DC7

#407DC7 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.131 H 254.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#407DC7
RGBrgb(64, 125, 199)
HSLhsl(213, 55%, 52%)
HSVhsv(213, 68%, 78%)
CMYKcmyk(67.8%, 37.2%, 0%, 22%)
CIE-LABlab(51.70, 4.36, -44.29)
CIE-LCHlch(51.70, 44.51, 275.62°)
OKLaboklab(58.44% -0.0347 -0.1259)
OKLCHoklch(58.44% 0.131 254.6)
XYZxyz(19.7530, 19.8787, 56.8177)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DC7 #C78A40
analogous
#40C1C7 #407DC7 #4740C7
triadic
#407DC7 #C7407D #7DC740
tetradic
#407DC7 #C740C1 #C78A40 #40C747
square
#407DC7 #C740C1 #C78A40 #40C747
split-complementary
#407DC7 #C74740 #C1C740
monochromatic
#20436D #2E609C #407DC7 #6F9DD5 #9FBDE3

Accessibility & contrast

On white

4.22
#407DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#407DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DC7#FFFFFF#000000##000000
##407DC71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#4875C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407dc7;
/* rgb */ color: rgb(64, 125, 199);
/* oklch */ color: oklch(58.4% 0.131 254.6);
Tailwind
colors: {
  custom: {
    50: '#83a2d8',
    500: '#407dc7',
    950: '#000000',
  },
}
SCSS
$custom: #407dc7;
$custom-light: #83a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#407dc7",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 212.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.13063,
    "h": 254.6
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#407DC7
secondary
#CFB494
accent
#9B4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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