#407CC6#407CC6

#407CC6 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.130 H 254.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#407CC6
RGBrgb(64, 124, 198)
HSLhsl(213, 54%, 51%)
HSVhsv(213, 68%, 78%)
CMYKcmyk(67.7%, 37.4%, 0%, 22.4%)
CIE-LABlab(51.36, 4.61, -44.26)
CIE-LCHlch(51.36, 44.50, 275.95°)
OKLaboklab(58.16% -0.0339 -0.1259)
OKLCHoklch(58.16% 0.13 254.9)
XYZxyz(19.5113, 19.5805, 56.1663)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC6 #C68A40
analogous
#40BFC6 #407CC6 #4740C6
triadic
#407CC6 #C6407C #7CC640
tetradic
#407CC6 #C640BF #C68A40 #40C647
square
#407CC6 #C640BF #C68A40 #40C647
split-complementary
#407CC6 #C64740 #BFC640
monochromatic
#20426C #2E5F9B #407CC6 #6F9CD4 #9EBDE2

Accessibility & contrast

On white

4.27
#407CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#407CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC6#FFFFFF#000000##000000
##407CC61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C9
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407cc6;
/* rgb */ color: rgb(64, 124, 198);
/* oklch */ color: oklch(58.2% 0.130 254.9);
Tailwind
colors: {
  custom: {
    50: '#83a1d7',
    500: '#407cc6',
    950: '#000000',
  },
}
SCSS
$custom: #407cc6;
$custom-light: #83a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc6",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 198
  },
  "hsl": {
    "h": 213.134,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58155,
    "c": 0.13036,
    "h": 254.9
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#407CC6
secondary
#CEB493
accent
#9C4ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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