#407CCC#407CCC

#407CCC is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.5% C 0.138 H 256.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407CCC
RGBrgb(64, 124, 204)
HSLhsl(214, 58%, 53%)
HSVhsv(214, 69%, 80%)
CMYKcmyk(68.6%, 39.2%, 0%, 20%)
CIE-LABlab(51.68, 6.74, -47.17)
CIE-LCHlch(51.68, 47.65, 278.13°)
OKLaboklab(58.51% -0.0325 -0.1344)
OKLCHoklch(58.51% 0.138 256.4)
XYZxyz(20.2171, 19.8628, 59.8835)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CCC #CC9040
analogous
#40C2CC #407CCC #4A40CC
triadic
#407CCC #CC407C #7CCC40
tetradic
#407CCC #CC40C2 #CC9040 #40CC4A
square
#407CCC #CC40C2 #CC9040 #40CC4A
split-complementary
#407CCC #CC4A40 #C2CC40
monochromatic
#1F4373 #2C5FA3 #407CCC #709DD9 #A1BEE6

Accessibility & contrast

On white

4.22
#407CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#407CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CCC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CCC#FFFFFF#000000##000000
##407CCC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ccc;
/* rgb */ color: rgb(64, 124, 204);
/* oklch */ color: oklch(58.5% 0.138 256.4);
Tailwind
colors: {
  custom: {
    50: '#84a1dc',
    500: '#407ccc',
    950: '#000000',
  },
}
SCSS
$custom: #407ccc;
$custom-light: #84a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#407ccc",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 214.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.13826,
    "h": 256.4
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#407CCC
secondary
#D2B895
accent
#9F47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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