#407DAA#407DAA

#407DAA is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.094 H 242.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#407DAA
RGBrgb(64, 125, 170)
HSLhsl(205, 45%, 46%)
HSVhsv(205, 62%, 67%)
CMYKcmyk(62.4%, 26.5%, 0%, 33.3%)
CIE-LABlab(50.28, -5.66, -29.84)
CIE-LCHlch(50.28, 30.37, 259.26°)
OKLaboklab(56.86% -0.0431 -0.0839)
OKLCHoklch(56.86% 0.094 242.8)
XYZxyz(16.7010, 18.6579, 40.7436)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DAA #AA6D40
analogous
#40AAA2 #407DAA #4048AA
triadic
#407DAA #AA407D #7DAA40
tetradic
#407DAA #A240AA #AA6D40 #48AA40
square
#407DAA #A240AA #AA6D40 #48AA40
split-complementary
#407DAA #AA4048 #AAA240
monochromatic
#1F3C51 #2F5C7E #407DAA #639BC4 #8FB7D5

Accessibility & contrast

On white

4.44
#407DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#407DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DAA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DAA#FFFFFF#000000##000000
##407DAA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407daa;
/* rgb */ color: rgb(64, 125, 170);
/* oklch */ color: oklch(56.9% 0.094 242.8);
Tailwind
colors: {
  custom: {
    50: '#7fa2c3',
    500: '#407daa',
    950: '#000000',
  },
}
SCSS
$custom: #407daa;
$custom-light: #7fa2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#407daa",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 170
  },
  "hsl": {
    "h": 205.472,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.09429,
    "h": 242.8
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#407DAA
secondary
#C09E86
accent
#8A53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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