#407FC2#407FC2

#407FC2 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.6% C 0.122 H 251.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#407FC2
RGBrgb(64, 127, 194)
HSLhsl(211, 52%, 51%)
HSVhsv(211, 67%, 76%)
CMYKcmyk(67%, 34.5%, 0%, 23.9%)
CIE-LABlab(52.02, 1.39, -40.93)
CIE-LCHlch(52.02, 40.96, 271.95°)
OKLaboklab(58.6% -0.038 -0.1161)
OKLCHoklch(58.6% 0.122 251.9)
XYZxyz(19.4377, 20.1618, 53.8957)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC2 #C28340
analogous
#40C0C2 #407FC2 #4240C2
triadic
#407FC2 #C2407F #7FC240
tetradic
#407FC2 #C240C0 #C28340 #40C242
square
#407FC2 #C240C0 #C28340 #40C242
split-complementary
#407FC2 #C24240 #C0C240
monochromatic
#214367 #306195 #407FC2 #6E9ED1 #9DBDE0

Accessibility & contrast

On white

4.17
#407FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#407FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC2#FFFFFF#000000##000000
##407FC21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#4F76C1
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407fc2;
/* rgb */ color: rgb(64, 127, 194);
/* oklch */ color: oklch(58.6% 0.122 251.9);
Tailwind
colors: {
  custom: {
    50: '#82a3d5',
    500: '#407fc2',
    950: '#000000',
  },
}
SCSS
$custom: #407fc2;
$custom-light: #82a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc2",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 210.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.12214,
    "h": 251.9
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#407FC2
secondary
#CCB092
accent
#964DDB
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #407FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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