#407EAA#407EAA

#407EAA is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.094 H 241.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407EAA
RGBrgb(64, 126, 170)
HSLhsl(205, 45%, 46%)
HSVhsv(205, 62%, 67%)
CMYKcmyk(62.4%, 25.9%, 0%, 33.3%)
CIE-LABlab(50.58, -6.24, -29.37)
CIE-LCHlch(50.58, 30.03, 258.00°)
OKLaboklab(57.1% -0.0442 -0.0825)
OKLCHoklch(57.1% 0.094 241.8)
XYZxyz(16.8282, 18.9123, 40.7860)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EAA #AA6C40
analogous
#40AAA1 #407EAA #4049AA
triadic
#407EAA #AA407E #7EAA40
tetradic
#407EAA #A140AA #AA6C40 #49AA40
square
#407EAA #A140AA #AA6C40 #49AA40
split-complementary
#407EAA #AA4049 #AAA140
monochromatic
#1F3C51 #2F5D7E #407EAA #639CC4 #8FB8D5

Accessibility & contrast

On white

4.39
#407EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#407EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EAA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EAA#FFFFFF#000000##000000
##407EAA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAC
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407eaa;
/* rgb */ color: rgb(64, 126, 170);
/* oklch */ color: oklch(57.1% 0.094 241.8);
Tailwind
colors: {
  custom: {
    50: '#7fa3c3',
    500: '#407eaa',
    950: '#000000',
  },
}
SCSS
$custom: #407eaa;
$custom-light: #7fa3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#407eaa",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 204.906,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.571,
    "c": 0.0936,
    "h": 241.8
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#407EAA
secondary
#C09E86
accent
#8953D5
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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