#407BC7#407BC7

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

Color values

HEX#407BC7
RGBrgb(64, 123, 199)
HSLhsl(214, 55%, 52%)
HSVhsv(214, 68%, 78%)
CMYKcmyk(67.8%, 38.2%, 0%, 22%)
CIE-LABlab(51.13, 5.57, -45.20)
CIE-LCHlch(51.13, 45.55, 277.03°)
OKLaboklab(57.99% -0.0327 -0.1286)
OKLCHoklch(57.99% 0.133 255.7)
XYZxyz(19.5024, 19.3774, 56.7342)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BC7 #C78C40
analogous
#40BFC7 #407BC7 #4940C7
triadic
#407BC7 #C7407B #7BC740
tetradic
#407BC7 #C740BF #C78C40 #40C749
square
#407BC7 #C740BF #C78C40 #40C749
split-complementary
#407BC7 #C74940 #BFC740
monochromatic
#20416D #2E5E9C #407BC7 #6F9CD5 #9FBCE3

Accessibility & contrast

On white

4.31
#407BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##407BC7#FFFFFF#000000##000000
##407BC71.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407bc7;
/* rgb */ color: rgb(64, 123, 199);
/* oklch */ color: oklch(58.0% 0.133 255.7);
Tailwind
colors: {
  custom: {
    50: '#83a0d8',
    500: '#407bc7',
    950: '#000000',
  },
}
SCSS
$custom: #407bc7;
$custom-light: #83a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#407bc7",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 213.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.13273,
    "h": 255.7
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#407BC7
secondary
#CFB594
accent
#9D4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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