#407DC4#407DC4

#407DC4 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.3% C 0.127 H 253.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407DC4
RGBrgb(64, 125, 196)
HSLhsl(212, 53%, 51%)
HSVhsv(212, 67%, 77%)
CMYKcmyk(67.3%, 36.2%, 0%, 23.1%)
CIE-LABlab(51.54, 3.30, -42.83)
CIE-LCHlch(51.54, 42.96, 274.40°)
OKLaboklab(58.26% -0.0354 -0.1217)
OKLCHoklch(58.26% 0.127 253.8)
XYZxyz(19.4081, 19.7408, 55.0014)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DC4 #C48740
analogous
#40BFC4 #407DC4 #4540C4
triadic
#407DC4 #C4407D #7DC440
tetradic
#407DC4 #C440BF #C48740 #40C445
square
#407DC4 #C440BF #C48740 #40C445
split-complementary
#407DC4 #C44540 #BFC440
monochromatic
#204269 #2F5F98 #407DC4 #6F9DD2 #9EBDE1

Accessibility & contrast

On white

4.24
#407DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#407DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DC4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DC4#FFFFFF#000000##000000
##407DC41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C7
Deuteranopia (green-blind)
#4B75C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407dc4;
/* rgb */ color: rgb(64, 125, 196);
/* oklch */ color: oklch(58.3% 0.127 253.8);
Tailwind
colors: {
  custom: {
    50: '#83a2d6',
    500: '#407dc4',
    950: '#000000',
  },
}
SCSS
$custom: #407dc4;
$custom-light: #83a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#407dc4",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 212.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.12672,
    "h": 253.8
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#407DC4
secondary
#CDB293
accent
#994CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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