#407EA7#407EA7

#407EA7 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.090 H 239.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#407EA7
RGBrgb(64, 126, 167)
HSLhsl(204, 45%, 45%)
HSVhsv(204, 62%, 65%)
CMYKcmyk(61.7%, 24.6%, 0%, 34.5%)
CIE-LABlab(50.45, -7.24, -27.84)
CIE-LCHlch(50.45, 28.76, 255.42°)
OKLaboklab(56.95% -0.0452 -0.0781)
OKLCHoklch(56.95% 0.09 239.9)
XYZxyz(16.5476, 18.8001, 39.3085)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA7 #A76940
analogous
#40A79C #407EA7 #404BA7
triadic
#407EA7 #A7407E #7EA740
tetradic
#407EA7 #9C40A7 #A76940 #4BA740
square
#407EA7 #9C40A7 #A76940 #4BA740
split-complementary
#407EA7 #A7404B #A79C40
monochromatic
#1E3B4F #2F5D7B #407EA7 #629CC3 #8EB8D4

Accessibility & contrast

On white

4.41
#407EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#407EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA7#FFFFFF#000000##000000
##407EA71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ea7;
/* rgb */ color: rgb(64, 126, 167);
/* oklch */ color: oklch(57.0% 0.090 239.9);
Tailwind
colors: {
  custom: {
    50: '#7ea3c1',
    500: '#407ea7',
    950: '#000000',
  },
}
SCSS
$custom: #407ea7;
$custom-light: #7ea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea7",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 203.883,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.09023,
    "h": 239.9
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#407EA7
secondary
#BF9B84
accent
#8754D4
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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