#407EA8#407EA8

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

Color values

HEX#407EA8
RGBrgb(64, 126, 168)
HSLhsl(204, 45%, 45%)
HSVhsv(204, 62%, 66%)
CMYKcmyk(61.9%, 25%, 0%, 34.1%)
CIE-LABlab(50.50, -6.91, -28.35)
CIE-LCHlch(50.50, 29.18, 256.30°)
OKLaboklab(57% -0.0449 -0.0796)
OKLCHoklch(57% 0.091 240.6)
XYZxyz(16.6404, 18.8372, 39.7972)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA8 #A86A40
analogous
#40A89E #407EA8 #404AA8
triadic
#407EA8 #A8407E #7EA840
tetradic
#407EA8 #9E40A8 #A86A40 #4AA840
square
#407EA8 #9E40A8 #A86A40 #4AA840
split-complementary
#407EA8 #A8404A #A89E40
monochromatic
#1E3C4F #2F5D7C #407EA8 #629CC3 #8EB8D4

Accessibility & contrast

On white

4.40
#407EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#407EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA8#FFFFFF#000000##000000
##407EA81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407ea8;
/* rgb */ color: rgb(64, 126, 168);
/* oklch */ color: oklch(57.0% 0.091 240.6);
Tailwind
colors: {
  custom: {
    50: '#7ea3c2',
    500: '#407ea8',
    950: '#000000',
  },
}
SCSS
$custom: #407ea8;
$custom-light: #7ea3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea8",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 204.231,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.09134,
    "h": 240.6
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#407EA8
secondary
#BF9C85
accent
#8753D5
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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