#407CCE#407CCE

#407CCE is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.6% C 0.141 H 256.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#407CCE
RGBrgb(64, 124, 206)
HSLhsl(215, 59%, 53%)
HSVhsv(215, 69%, 81%)
CMYKcmyk(68.9%, 39.8%, 0%, 19.2%)
CIE-LABlab(51.79, 7.45, -48.13)
CIE-LCHlch(51.79, 48.70, 278.79°)
OKLaboklab(58.63% -0.0321 -0.1372)
OKLCHoklch(58.63% 0.141 256.8)
XYZxyz(20.4585, 19.9594, 61.1549)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CCE #CE9240
analogous
#40C3CE #407CCE #4B40CE
triadic
#407CCE #CE407C #7CCE40
tetradic
#407CCE #CE40C3 #CE9240 #40CE4B
square
#407CCE #CE40C3 #CE9240 #40CE4B
split-complementary
#407CCE #CE4B40 #C3CE40
monochromatic
#1E4375 #2B5FA6 #407CCE #719DDA #A1BFE7

Accessibility & contrast

On white

4.21
#407CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#407CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CCE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CCE#FFFFFF#000000##000000
##407CCE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D1
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407cce;
/* rgb */ color: rgb(64, 124, 206);
/* oklch */ color: oklch(58.6% 0.141 256.8);
Tailwind
colors: {
  custom: {
    50: '#84a1dd',
    500: '#407cce',
    950: '#000000',
  },
}
SCSS
$custom: #407cce;
$custom-light: #84a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#407cce",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 214.648,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.1409,
    "h": 256.8
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#407CCE
secondary
#D4BA96
accent
#A045E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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