#407DD2#407DD2

#407DD2 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.1% C 0.145 H 257.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#407DD2
RGBrgb(64, 125, 210)
HSLhsl(215, 62%, 54%)
HSVhsv(215, 70%, 82%)
CMYKcmyk(69.5%, 40.5%, 0%, 17.6%)
CIE-LABlab(52.30, 8.26, -49.60)
CIE-LCHlch(52.30, 50.28, 279.46°)
OKLaboklab(59.1% -0.0321 -0.1415)
OKLCHoklch(59.1% 0.145 257.2)
XYZxyz(21.0766, 20.4081, 63.7887)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DD2 #D29540
analogous
#40C6D2 #407DD2 #4C40D2
triadic
#407DD2 #D2407D #7DD240
tetradic
#407DD2 #D240C6 #D29540 #40D24C
square
#407DD2 #D240C6 #D29540 #40D24C
split-complementary
#407DD2 #D24C40 #C6D240
monochromatic
#1D447B #2960AC #407DD2 #729FDE #A3C0E9

Accessibility & contrast

On white

4.13
#407DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#407DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DD2#FFFFFF#000000##000000
##407DD21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D5
Deuteranopia (green-blind)
#3E77D0
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407dd2;
/* rgb */ color: rgb(64, 125, 210);
/* oklch */ color: oklch(59.1% 0.145 257.2);
Tailwind
colors: {
  custom: {
    50: '#85a2e0',
    500: '#407dd2',
    950: '#000000',
  },
}
SCSS
$custom: #407dd2;
$custom-light: #85a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#407dd2",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 214.932,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.1451,
    "h": 257.2
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#407DD2
secondary
#D6BC98
accent
#A143E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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