#407BC5#407BC5

#407BC5 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.130 H 255.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#407BC5
RGBrgb(64, 123, 197)
HSLhsl(213, 53%, 51%)
HSVhsv(213, 68%, 77%)
CMYKcmyk(67.5%, 37.6%, 0%, 22.7%)
CIE-LABlab(51.02, 4.86, -44.23)
CIE-LCHlch(51.02, 44.50, 276.28°)
OKLaboklab(57.87% -0.0332 -0.1258)
OKLCHoklch(57.87% 0.13 255.2)
XYZxyz(19.2717, 19.2852, 55.5193)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BC5 #C58A40
analogous
#40BEC5 #407BC5 #4740C5
triadic
#407BC5 #C5407B #7BC540
tetradic
#407BC5 #C540BE #C58A40 #40C547
square
#407BC5 #C540BE #C58A40 #40C547
split-complementary
#407BC5 #C54740 #BEC540
monochromatic
#20416A #2F5E99 #407BC5 #6F9BD3 #9EBCE2

Accessibility & contrast

On white

4.32
#407BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#407BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BC5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BC5#FFFFFF#000000##000000
##407BC51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407bc5;
/* rgb */ color: rgb(64, 123, 197);
/* oklch */ color: oklch(57.9% 0.130 255.2);
Tailwind
colors: {
  custom: {
    50: '#83a0d7',
    500: '#407bc5',
    950: '#000000',
  },
}
SCSS
$custom: #407bc5;
$custom-light: #83a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#407bc5",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 213.383,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57873,
    "c": 0.13009,
    "h": 255.2
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#407BC5
secondary
#CEB493
accent
#9C4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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