#407CC2#407CC2

#407CC2 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.125 H 253.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#407CC2
RGBrgb(64, 124, 194)
HSLhsl(212, 52%, 51%)
HSVhsv(212, 67%, 76%)
CMYKcmyk(67%, 36.1%, 0%, 23.9%)
CIE-LABlab(51.15, 3.20, -42.31)
CIE-LCHlch(51.15, 42.43, 274.33°)
OKLaboklab(57.92% -0.0349 -0.1201)
OKLCHoklch(57.92% 0.125 253.8)
XYZxyz(19.0560, 19.3984, 53.7685)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC2 #C28640
analogous
#40BDC2 #407CC2 #4540C2
triadic
#407CC2 #C2407C #7CC240
tetradic
#407CC2 #C240BD #C28640 #40C245
square
#407CC2 #C240BD #C28640 #40C245
split-complementary
#407CC2 #C24540 #BDC240
monochromatic
#214167 #305E95 #407CC2 #6E9CD1 #9DBCE0

Accessibility & contrast

On white

4.30
#407CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#407CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC2#FFFFFF#000000##000000
##407CC21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407cc2;
/* rgb */ color: rgb(64, 124, 194);
/* oklch */ color: oklch(57.9% 0.125 253.8);
Tailwind
colors: {
  custom: {
    50: '#82a1d5',
    500: '#407cc2',
    950: '#000000',
  },
}
SCSS
$custom: #407cc2;
$custom-light: #82a1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc2",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 212.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.12512,
    "h": 253.8
  },
  "luminance": 0.194
}

Semantic roles & 50–950 ramp

primary
#407CC2
secondary
#CCB192
accent
#994DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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