#407AC2#407AC2

#407AC2 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.127 H 255.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407AC2
RGBrgb(64, 122, 194)
HSLhsl(213, 52%, 51%)
HSVhsv(213, 67%, 76%)
CMYKcmyk(67%, 37.1%, 0%, 23.9%)
CIE-LABlab(50.57, 4.41, -43.22)
CIE-LCHlch(50.57, 43.45, 275.83°)
OKLaboklab(57.47% -0.0329 -0.1228)
OKLCHoklch(57.47% 0.127 255)
XYZxyz(18.8079, 18.9022, 53.6858)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AC2 #C28840
analogous
#40BBC2 #407AC2 #4740C2
triadic
#407AC2 #C2407A #7AC240
tetradic
#407AC2 #C240BB #C28840 #40C247
square
#407AC2 #C240BB #C28840 #40C247
split-complementary
#407AC2 #C24740 #BBC240
monochromatic
#214067 #305D95 #407AC2 #6E9AD1 #9DBBE0

Accessibility & contrast

On white

4.39
#407AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#407AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AC2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AC2#FFFFFF#000000##000000
##407AC21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#4773C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ac2;
/* rgb */ color: rgb(64, 122, 194);
/* oklch */ color: oklch(57.5% 0.127 255.0);
Tailwind
colors: {
  custom: {
    50: '#82a0d5',
    500: '#407ac2',
    950: '#000000',
  },
}
SCSS
$custom: #407ac2;
$custom-light: #82a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407ac2",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 213.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.12718,
    "h": 255
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#407AC2
secondary
#CCB292
accent
#9C4DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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