#407AAA#407AAA

#407AAA is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.097 H 245.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#407AAA
RGBrgb(64, 122, 170)
HSLhsl(207, 45%, 46%)
HSVhsv(207, 62%, 67%)
CMYKcmyk(62.4%, 28.2%, 0%, 33.3%)
CIE-LABlab(49.39, -3.89, -31.24)
CIE-LCHlch(49.39, 31.48, 262.90°)
OKLaboklab(56.15% -0.0398 -0.0879)
OKLCHoklch(56.15% 0.097 245.7)
XYZxyz(16.3269, 17.9098, 40.6189)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AAA #AA7040
analogous
#40AAA5 #407AAA #4045AA
triadic
#407AAA #AA407A #7AAA40
tetradic
#407AAA #A540AA #AA7040 #45AA40
square
#407AAA #A540AA #AA7040 #45AA40
split-complementary
#407AAA #AA4045 #AAA540
monochromatic
#1F3A51 #2F5A7E #407AAA #6398C4 #8FB5D5

Accessibility & contrast

On white

4.58
#407AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#407AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AAA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AAA#FFFFFF#000000##000000
##407AAA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#00858B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407aaa;
/* rgb */ color: rgb(64, 122, 170);
/* oklch */ color: oklch(56.2% 0.097 245.7);
Tailwind
colors: {
  custom: {
    50: '#7fa0c3',
    500: '#407aaa',
    950: '#000000',
  },
}
SCSS
$custom: #407aaa;
$custom-light: #7fa0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#407aaa",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 207.17,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.09651,
    "h": 245.7
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#407AAA
secondary
#C0A086
accent
#8E53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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