#407DC8#407DC8

#407DC8 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.5% C 0.132 H 254.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#407DC8
RGBrgb(64, 125, 200)
HSLhsl(213, 55%, 52%)
HSVhsv(213, 68%, 78%)
CMYKcmyk(68%, 37.5%, 0%, 21.6%)
CIE-LABlab(51.75, 4.71, -44.78)
CIE-LCHlch(51.75, 45.03, 276.00°)
OKLaboklab(58.5% -0.0344 -0.1274)
OKLCHoklch(58.5% 0.132 254.9)
XYZxyz(19.8695, 19.9253, 57.4312)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DC8 #C88B40
analogous
#40C1C8 #407DC8 #4740C8
triadic
#407DC8 #C8407D #7DC840
tetradic
#407DC8 #C840C1 #C88B40 #40C847
square
#407DC8 #C840C1 #C88B40 #40C847
split-complementary
#407DC8 #C84740 #C1C840
monochromatic
#20436E #2D609D #407DC8 #709DD6 #9FBEE3

Accessibility & contrast

On white

4.21
#407DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#407DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DC8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DC8#FFFFFF#000000##000000
##407DC81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CB
Deuteranopia (green-blind)
#4776C6
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407dc8;
/* rgb */ color: rgb(64, 125, 200);
/* oklch */ color: oklch(58.5% 0.132 254.9);
Tailwind
colors: {
  custom: {
    50: '#83a2d9',
    500: '#407dc8',
    950: '#000000',
  },
}
SCSS
$custom: #407dc8;
$custom-light: #83a2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#407dc8",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 213.088,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.13193,
    "h": 254.9
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#407DC8
secondary
#D0B594
accent
#9C49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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