#407AAD#407AAD

#407AAD is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.100 H 247.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#407AAD
RGBrgb(64, 122, 173)
HSLhsl(208, 46%, 46%)
HSVhsv(208, 63%, 68%)
CMYKcmyk(63%, 29.5%, 0%, 32.2%)
CIE-LABlab(49.53, -2.88, -32.76)
CIE-LCHlch(49.53, 32.89, 264.98°)
OKLaboklab(56.31% -0.0388 -0.0924)
OKLCHoklch(56.31% 0.1 247.2)
XYZxyz(16.6139, 18.0246, 42.1306)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AAD #AD7340
analogous
#40ADAA #407AAD #4044AD
triadic
#407AAD #AD407A #7AAD40
tetradic
#407AAD #AA40AD #AD7340 #44AD40
square
#407AAD #AA40AD #AD7340 #44AD40
split-complementary
#407AAD #AD4044 #ADAA40
monochromatic
#1F3B54 #2F5A80 #407AAD #6498C6 #91B6D6

Accessibility & contrast

On white

4.56
#407AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#407AAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AAD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AAD#FFFFFF#000000##000000
##407AAD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CAF
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407aad;
/* rgb */ color: rgb(64, 122, 173);
/* oklch */ color: oklch(56.3% 0.100 247.2);
Tailwind
colors: {
  custom: {
    50: '#7fa0c5',
    500: '#407aad',
    950: '#000000',
  },
}
SCSS
$custom: #407aad;
$custom-light: #7fa0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#407aad",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 173
  },
  "hsl": {
    "h": 208.073,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.10019,
    "h": 247.2
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#407AAD
secondary
#C2A387
accent
#9052D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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