#407FC8#407FC8

#407FC8 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.130 H 253.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#407FC8
RGBrgb(64, 127, 200)
HSLhsl(212, 55%, 52%)
HSVhsv(212, 68%, 78%)
CMYKcmyk(68%, 36.5%, 0%, 21.6%)
CIE-LABlab(52.33, 3.50, -43.87)
CIE-LCHlch(52.33, 44.01, 274.56°)
OKLaboklab(58.95% -0.0364 -0.1247)
OKLCHoklch(58.95% 0.13 253.7)
XYZxyz(20.1252, 20.4368, 57.5165)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC8 #C88940
analogous
#40C3C8 #407FC8 #4540C8
triadic
#407FC8 #C8407F #7FC840
tetradic
#407FC8 #C840C3 #C88940 #40C845
square
#407FC8 #C840C3 #C88940 #40C845
split-complementary
#407FC8 #C84540 #C3C840
monochromatic
#20446E #2D619D #407FC8 #709FD6 #9FBFE3

Accessibility & contrast

On white

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

On black

5.09
#407FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC8#FFFFFF#000000##000000
##407FC81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407fc8;
/* rgb */ color: rgb(64, 127, 200);
/* oklch */ color: oklch(58.9% 0.130 253.7);
Tailwind
colors: {
  custom: {
    50: '#83a3d9',
    500: '#407fc8',
    950: '#000000',
  },
}
SCSS
$custom: #407fc8;
$custom-light: #83a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc8",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 212.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.12988,
    "h": 253.7
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#407FC8
secondary
#D0B494
accent
#9949DF
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #407FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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