#407FC4#407FC4

#407FC4 is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.125 H 252.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#407FC4
RGBrgb(64, 127, 196)
HSLhsl(211, 53%, 51%)
HSVhsv(211, 67%, 77%)
CMYKcmyk(67.3%, 35.2%, 0%, 23.1%)
CIE-LABlab(52.12, 2.09, -41.91)
CIE-LCHlch(52.12, 41.97, 272.86°)
OKLaboklab(58.72% -0.0374 -0.119)
OKLCHoklch(58.72% 0.125 252.5)
XYZxyz(19.6639, 20.2522, 55.0866)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC4 #C48540
analogous
#40C1C4 #407FC4 #4340C4
triadic
#407FC4 #C4407F #7FC440
tetradic
#407FC4 #C440C1 #C48540 #40C443
square
#407FC4 #C440C1 #C48540 #40C443
split-complementary
#407FC4 #C44340 #C1C440
monochromatic
#204369 #2F6198 #407FC4 #6F9ED2 #9EBEE1

Accessibility & contrast

On white

4.16
#407FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#407FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC4#FFFFFF#000000##000000
##407FC41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C7
Deuteranopia (green-blind)
#4E77C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407fc4;
/* rgb */ color: rgb(64, 127, 196);
/* oklch */ color: oklch(58.7% 0.125 252.5);
Tailwind
colors: {
  custom: {
    50: '#83a3d6',
    500: '#407fc4',
    950: '#000000',
  },
}
SCSS
$custom: #407fc4;
$custom-light: #83a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc4",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 211.364,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58717,
    "c": 0.12471,
    "h": 252.5
  },
  "luminance": 0.20254
}

Semantic roles & 50–950 ramp

primary
#407FC4
secondary
#CDB193
accent
#974CDC
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #407FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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