#407FD1#407FD1

#407FD1 is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.5% C 0.142 H 256.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#407FD1
RGBrgb(64, 127, 209)
HSLhsl(214, 61%, 54%)
HSVhsv(214, 69%, 82%)
CMYKcmyk(69.4%, 39.2%, 0%, 18%)
CIE-LABlab(52.81, 6.69, -48.22)
CIE-LCHlch(52.81, 48.68, 277.89°)
OKLaboklab(59.48% -0.0342 -0.1374)
OKLCHoklch(59.48% 0.142 256)
XYZxyz(21.2081, 20.8699, 63.2198)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FD1 #D19240
analogous
#40C7D1 #407FD1 #4940D1
triadic
#407FD1 #D1407F #7FD140
tetradic
#407FD1 #D140C7 #D19240 #40D149
square
#407FD1 #D140C7 #D19240 #40D149
split-complementary
#407FD1 #D14940 #C7D140
monochromatic
#1D4579 #2961AB #407FD1 #71A0DD #A3C1E9

Accessibility & contrast

On white

4.06
#407FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#407FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FD1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FD1#FFFFFF#000000##000000
##407FD11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5985D4
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #407fd1;
/* rgb */ color: rgb(64, 127, 209);
/* oklch */ color: oklch(59.5% 0.142 256.0);
Tailwind
colors: {
  custom: {
    50: '#85a3df',
    500: '#407fd1',
    950: '#000000',
  },
}
SCSS
$custom: #407fd1;
$custom-light: #85a3df;
$custom-dark: #000000;
JSON
{
  "hex": "#407fd1",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 209
  },
  "hsl": {
    "h": 213.931,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.14161,
    "h": 256
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#407FD1
secondary
#D5BA97
accent
#9E44E4
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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