#407DC9#407DC9

#407DC9 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.6% C 0.133 H 255.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#407DC9
RGBrgb(64, 125, 201)
HSLhsl(213, 56%, 52%)
HSVhsv(213, 68%, 79%)
CMYKcmyk(68.2%, 37.8%, 0%, 21.2%)
CIE-LABlab(51.81, 5.06, -45.26)
CIE-LCHlch(51.81, 45.55, 276.38°)
OKLaboklab(58.56% -0.0342 -0.1288)
OKLCHoklch(58.56% 0.133 255.1)
XYZxyz(19.9867, 19.9722, 58.0487)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DC9 #C98C40
analogous
#40C1C9 #407DC9 #4840C9
triadic
#407DC9 #C9407D #7DC940
tetradic
#407DC9 #C940C1 #C98C40 #40C948
square
#407DC9 #C940C1 #C98C40 #40C948
split-complementary
#407DC9 #C94840 #C1C940
monochromatic
#1F436F #2D609F #407DC9 #709DD6 #9FBEE4

Accessibility & contrast

On white

4.20
#407DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##407DC9#FFFFFF#000000##000000
##407DC91.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CC
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407dc9;
/* rgb */ color: rgb(64, 125, 201);
/* oklch */ color: oklch(58.6% 0.133 255.1);
Tailwind
colors: {
  custom: {
    50: '#84a2da',
    500: '#407dc9',
    950: '#000000',
  },
}
SCSS
$custom: #407dc9;
$custom-light: #84a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#407dc9",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 213.285,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.13324,
    "h": 255.1
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#407DC9
secondary
#D0B694
accent
#9C49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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