#407AAF#407AAF

#407AAF is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.103 H 248.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#407AAF
RGBrgb(64, 122, 175)
HSLhsl(209, 46%, 47%)
HSVhsv(209, 63%, 69%)
CMYKcmyk(63.4%, 30.3%, 0%, 31.4%)
CIE-LABlab(49.62, -2.19, -33.77)
CIE-LCHlch(49.62, 33.85, 266.29°)
OKLaboklab(56.42% -0.0382 -0.0953)
OKLCHoklch(56.42% 0.103 248.2)
XYZxyz(16.8089, 18.1026, 43.1574)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AAF #AF7540
analogous
#40AFAD #407AAF #4042AF
triadic
#407AAF #AF407A #7AAF40
tetradic
#407AAF #AD40AF #AF7540 #42AF40
square
#407AAF #AD40AF #AF7540 #42AF40
split-complementary
#407AAF #AF4042 #AFAD40
monochromatic
#1F3C55 #305B82 #407AAF #6598C7 #92B6D7

Accessibility & contrast

On white

4.54
#407AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#407AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AAF#FFFFFF#000000##000000
##407AAF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407aaf;
/* rgb */ color: rgb(64, 122, 175);
/* oklch */ color: oklch(56.4% 0.103 248.2);
Tailwind
colors: {
  custom: {
    50: '#7fa0c7',
    500: '#407aaf',
    950: '#000000',
  },
}
SCSS
$custom: #407aaf;
$custom-light: #7fa0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#407aaf",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 208.649,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.10267,
    "h": 248.2
  },
  "luminance": 0.18104
}

Semantic roles & 50–950 ramp

primary
#407AAF
secondary
#C3A488
accent
#9152D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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