#407FC6#407FC6

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

Color values

HEX#407FC6
RGBrgb(64, 127, 198)
HSLhsl(212, 54%, 51%)
HSVhsv(212, 68%, 78%)
CMYKcmyk(67.7%, 35.9%, 0%, 22.4%)
CIE-LABlab(52.22, 2.80, -42.89)
CIE-LCHlch(52.22, 42.98, 273.73°)
OKLaboklab(58.83% -0.0369 -0.1218)
OKLCHoklch(58.83% 0.127 253.1)
XYZxyz(19.8930, 20.3439, 56.2935)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC6 #C68740
analogous
#40C2C6 #407FC6 #4440C6
triadic
#407FC6 #C6407F #7FC640
tetradic
#407FC6 #C640C2 #C68740 #40C644
square
#407FC6 #C640C2 #C68740 #40C644
split-complementary
#407FC6 #C64440 #C2C640
monochromatic
#20446C #2E619B #407FC6 #6F9FD4 #9EBEE2

Accessibility & contrast

On white

4.14
#407FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#407FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC6#FFFFFF#000000##000000
##407FC61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C9
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407fc6;
/* rgb */ color: rgb(64, 127, 198);
/* oklch */ color: oklch(58.8% 0.127 253.1);
Tailwind
colors: {
  custom: {
    50: '#83a3d7',
    500: '#407fc6',
    950: '#000000',
  },
}
SCSS
$custom: #407fc6;
$custom-light: #83a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc6",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 211.791,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.12729,
    "h": 253.1
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#407FC6
secondary
#CEB393
accent
#984ADD
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #407FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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