#407FD3#407FD3

#407FD3 is a mid, vivid cyan. Relative luminance 0.210; OKLCH L 59.6% C 0.144 H 256.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#407FD3
RGBrgb(64, 127, 211)
HSLhsl(214, 63%, 54%)
HSVhsv(214, 70%, 83%)
CMYKcmyk(69.7%, 39.8%, 0%, 17.3%)
CIE-LABlab(52.92, 7.40, -49.18)
CIE-LCHlch(52.92, 49.73, 278.55°)
OKLaboklab(59.6% -0.0338 -0.1402)
OKLCHoklch(59.6% 0.144 256.4)
XYZxyz(21.4573, 20.9696, 64.5321)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FD3 #D39440
analogous
#40C8D3 #407FD3 #4B40D3
triadic
#407FD3 #D3407F #7FD340
tetradic
#407FD3 #D340C8 #D39440 #40D34B
square
#407FD3 #D340C8 #D39440 #40D34B
split-complementary
#407FD3 #D34B40 #C8D340
monochromatic
#1D457C #2861AE #407FD3 #72A0DE #A3C2EA

Accessibility & contrast

On white

4.04
#407FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#407FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FD3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FD3#FFFFFF#000000##000000
##407FD31.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D6
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #407fd3;
/* rgb */ color: rgb(64, 127, 211);
/* oklch */ color: oklch(59.6% 0.144 256.4);
Tailwind
colors: {
  custom: {
    50: '#85a3e1',
    500: '#407fd3',
    950: '#000000',
  },
}
SCSS
$custom: #407fd3;
$custom-light: #85a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#407fd3",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 214.286,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.14424,
    "h": 256.4
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#407FD3
secondary
#D7BC98
accent
#A042E6
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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