#407EC3#407EC3

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

Color values

HEX#407EC3
RGBrgb(64, 126, 195)
HSLhsl(212, 52%, 51%)
HSVhsv(212, 67%, 76%)
CMYKcmyk(67.2%, 35.4%, 0%, 23.5%)
CIE-LABlab(51.78, 2.34, -41.88)
CIE-LCHlch(51.78, 41.95, 273.20°)
OKLaboklab(58.43% -0.0367 -0.1189)
OKLCHoklch(58.43% 0.124 252.8)
XYZxyz(19.4219, 19.9498, 54.4463)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EC3 #C38540
analogous
#40BFC3 #407EC3 #4340C3
triadic
#407EC3 #C3407E #7EC340
tetradic
#407EC3 #C340BF #C38540 #40C343
square
#407EC3 #C340BF #C38540 #40C343
split-complementary
#407EC3 #C34340 #BFC340
monochromatic
#214268 #2F6097 #407EC3 #6F9DD2 #9DBDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407EC3#FFFFFF#000000##000000
##407EC31.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)
#5F82C6
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ec3;
/* rgb */ color: rgb(64, 126, 195);
/* oklch */ color: oklch(58.4% 0.124 252.8);
Tailwind
colors: {
  custom: {
    50: '#83a3d5',
    500: '#407ec3',
    950: '#000000',
  },
}
SCSS
$custom: #407ec3;
$custom-light: #83a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407ec3",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 211.603,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.12441,
    "h": 252.8
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#407EC3
secondary
#CCB192
accent
#984CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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