#407FC1#407FC1

#407FC1 is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.5% C 0.121 H 251.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#407FC1
RGBrgb(64, 127, 193)
HSLhsl(211, 51%, 50%)
HSVhsv(211, 67%, 76%)
CMYKcmyk(66.8%, 34.2%, 0%, 24.3%)
CIE-LABlab(51.97, 1.04, -40.44)
CIE-LCHlch(51.97, 40.45, 271.48°)
OKLaboklab(58.55% -0.0382 -0.1146)
OKLCHoklch(58.55% 0.121 251.6)
XYZxyz(19.3258, 20.1170, 53.3062)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC1 #C18240
analogous
#40BFC1 #407FC1 #4240C1
triadic
#407FC1 #C1407F #7FC140
tetradic
#407FC1 #C140BF #C18240 #40C142
square
#407FC1 #C140BF #C18240 #40C142
split-complementary
#407FC1 #C14240 #BFC140
monochromatic
#214366 #306194 #407FC1 #6E9ED0 #9CBDDF

Accessibility & contrast

On white

4.18
#407FC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#407FC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC1#FFFFFF#000000##000000
##407FC11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6283C4
Deuteranopia (green-blind)
#5076C0
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407fc1;
/* rgb */ color: rgb(64, 127, 193);
/* oklch */ color: oklch(58.5% 0.121 251.6);
Tailwind
colors: {
  custom: {
    50: '#82a3d4',
    500: '#407fc1',
    950: '#000000',
  },
}
SCSS
$custom: #407fc1;
$custom-light: #82a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc1",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 193
  },
  "hsl": {
    "h": 210.698,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.12086,
    "h": 251.6
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#407FC1
secondary
#CBAF92
accent
#964DDA
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #407FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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