#407BC2#407BC2

#407BC2 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.7% C 0.126 H 254.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#407BC2
RGBrgb(64, 123, 194)
HSLhsl(213, 52%, 51%)
HSVhsv(213, 67%, 76%)
CMYKcmyk(67%, 36.6%, 0%, 23.9%)
CIE-LABlab(50.86, 3.81, -42.76)
CIE-LCHlch(50.86, 42.93, 275.09°)
OKLaboklab(57.7% -0.0339 -0.1215)
OKLCHoklch(57.7% 0.126 254.4)
XYZxyz(18.9314, 19.1490, 53.7269)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BC2 #C28740
analogous
#40BCC2 #407BC2 #4640C2
triadic
#407BC2 #C2407B #7BC240
tetradic
#407BC2 #C240BC #C28740 #40C246
square
#407BC2 #C240BC #C28740 #40C246
split-complementary
#407BC2 #C24640 #BCC240
monochromatic
#214167 #305E95 #407BC2 #6E9BD1 #9DBBE0

Accessibility & contrast

On white

4.35
#407BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#407BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BC2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BC2#FFFFFF#000000##000000
##407BC21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#4974C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407bc2;
/* rgb */ color: rgb(64, 123, 194);
/* oklch */ color: oklch(57.7% 0.126 254.4);
Tailwind
colors: {
  custom: {
    50: '#82a0d5',
    500: '#407bc2',
    950: '#000000',
  },
}
SCSS
$custom: #407bc2;
$custom-light: #82a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407bc2",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 212.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.12614,
    "h": 254.4
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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