#407FC9#407FC9

#407FC9 is a mid, vivid cyan. Relative luminance 0.205; OKLCH L 59.0% C 0.131 H 254.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#407FC9
RGBrgb(64, 127, 201)
HSLhsl(212, 56%, 52%)
HSVhsv(212, 68%, 79%)
CMYKcmyk(68.2%, 36.8%, 0%, 21.2%)
CIE-LABlab(52.38, 3.85, -44.35)
CIE-LCHlch(52.38, 44.52, 274.96°)
OKLaboklab(59% -0.0361 -0.1261)
OKLCHoklch(59% 0.131 254)
XYZxyz(20.2425, 20.4837, 58.1340)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC9 #C98A40
analogous
#40C3C9 #407FC9 #4640C9
triadic
#407FC9 #C9407F #7FC940
tetradic
#407FC9 #C940C3 #C98A40 #40C946
square
#407FC9 #C940C3 #C98A40 #40C946
split-complementary
#407FC9 #C94640 #C3C940
monochromatic
#1F446F #2D619F #407FC9 #709FD6 #9FBFE4

Accessibility & contrast

On white

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

On black

5.10
#407FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC9#FFFFFF#000000##000000
##407FC91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CC
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407fc9;
/* rgb */ color: rgb(64, 127, 201);
/* oklch */ color: oklch(59.0% 0.131 254.0);
Tailwind
colors: {
  custom: {
    50: '#84a3da',
    500: '#407fc9',
    950: '#000000',
  },
}
SCSS
$custom: #407fc9;
$custom-light: #84a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc9",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 212.409,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59003,
    "c": 0.13117,
    "h": 254
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#407FC9
secondary
#D0B594
accent
#9A49DF
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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