#407CC5#407CC5

#407CC5 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.1% C 0.129 H 254.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#407CC5
RGBrgb(64, 124, 197)
HSLhsl(213, 53%, 51%)
HSVhsv(213, 68%, 77%)
CMYKcmyk(67.5%, 37.1%, 0%, 22.7%)
CIE-LABlab(51.31, 4.26, -43.77)
CIE-LCHlch(51.31, 43.98, 275.55°)
OKLaboklab(58.1% -0.0342 -0.1244)
OKLCHoklch(58.1% 0.129 254.6)
XYZxyz(19.3964, 19.5345, 55.5608)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC5 #C58940
analogous
#40BFC5 #407CC5 #4640C5
triadic
#407CC5 #C5407C #7CC540
tetradic
#407CC5 #C540BF #C58940 #40C546
square
#407CC5 #C540BF #C58940 #40C546
split-complementary
#407CC5 #C54640 #BFC540
monochromatic
#20426A #2F5F99 #407CC5 #6F9CD3 #9EBCE2

Accessibility & contrast

On white

4.28
#407CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#407CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC5#FFFFFF#000000##000000
##407CC51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4875C4
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407cc5;
/* rgb */ color: rgb(64, 124, 197);
/* oklch */ color: oklch(58.1% 0.129 254.6);
Tailwind
colors: {
  custom: {
    50: '#83a1d7',
    500: '#407cc5',
    950: '#000000',
  },
}
SCSS
$custom: #407cc5;
$custom-light: #83a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc5",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 212.932,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.12904,
    "h": 254.6
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#407CC5
secondary
#CEB393
accent
#9B4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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