#407CC7#407CC7

#407CC7 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.132 H 255.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#407CC7
RGBrgb(64, 124, 199)
HSLhsl(213, 55%, 52%)
HSVhsv(213, 68%, 78%)
CMYKcmyk(67.8%, 37.7%, 0%, 22%)
CIE-LABlab(51.41, 4.96, -44.75)
CIE-LCHlch(51.41, 45.02, 276.33°)
OKLaboklab(58.21% -0.0337 -0.1273)
OKLCHoklch(58.21% 0.132 255.2)
XYZxyz(19.6270, 19.6268, 56.7757)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC7 #C78B40
analogous
#40C0C7 #407CC7 #4840C7
triadic
#407CC7 #C7407C #7CC740
tetradic
#407CC7 #C740C0 #C78B40 #40C748
square
#407CC7 #C740C0 #C78B40 #40C748
split-complementary
#407CC7 #C74840 #C0C740
monochromatic
#20426D #2E5F9C #407CC7 #6F9CD5 #9FBDE3

Accessibility & contrast

On white

4.26
#407CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#407CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC7#FFFFFF#000000##000000
##407CC71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4675C5
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407cc7;
/* rgb */ color: rgb(64, 124, 199);
/* oklch */ color: oklch(58.2% 0.132 255.2);
Tailwind
colors: {
  custom: {
    50: '#83a1d8',
    500: '#407cc7',
    950: '#000000',
  },
}
SCSS
$custom: #407cc7;
$custom-light: #83a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc7",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 213.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.13168,
    "h": 255.2
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#407CC7
secondary
#CFB594
accent
#9C4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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