#407AC0#407AC0

#407AC0 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.125 H 254.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#407AC0
RGBrgb(64, 122, 192)
HSLhsl(213, 50%, 50%)
HSVhsv(213, 67%, 75%)
CMYKcmyk(66.7%, 36.5%, 0%, 24.7%)
CIE-LABlab(50.47, 3.71, -42.24)
CIE-LCHlch(50.47, 42.40, 275.02°)
OKLaboklab(57.36% -0.0334 -0.12)
OKLCHoklch(57.36% 0.125 254.4)
XYZxyz(18.5848, 18.8130, 52.5108)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AC0 #C08640
analogous
#40BAC0 #407AC0 #4640C0
triadic
#407AC0 #C0407A #7AC040
tetradic
#407AC0 #C040BA #C08640 #40C046
square
#407AC0 #C040BA #C08640 #40C046
split-complementary
#407AC0 #C04640 #BAC040
monochromatic
#214064 #305D92 #407AC0 #6E9ACF #9CBADE

Accessibility & contrast

On white

4.41
#407AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#407AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AC0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AC0#FFFFFF#000000##000000
##407AC01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC3
Deuteranopia (green-blind)
#4973BF
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ac0;
/* rgb */ color: rgb(64, 122, 192);
/* oklch */ color: oklch(57.4% 0.125 254.4);
Tailwind
colors: {
  custom: {
    50: '#82a0d3',
    500: '#407ac0',
    950: '#000000',
  },
}
SCSS
$custom: #407ac0;
$custom-light: #82a0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#407ac0",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 192
  },
  "hsl": {
    "h": 212.813,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57356,
    "c": 0.12455,
    "h": 254.4
  },
  "luminance": 0.18815
}

Semantic roles & 50–950 ramp

primary
#407AC0
secondary
#CBB191
accent
#9A4EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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