#407EA4#407EA4

#407EA4 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.087 H 237.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#407EA4
RGBrgb(64, 126, 164)
HSLhsl(203, 44%, 45%)
HSVhsv(203, 61%, 64%)
CMYKcmyk(61%, 23.2%, 0%, 35.7%)
CIE-LABlab(50.32, -8.23, -26.29)
CIE-LCHlch(50.32, 27.55, 252.61°)
OKLaboklab(56.81% -0.0463 -0.0736)
OKLCHoklch(56.81% 0.087 237.9)
XYZxyz(16.2735, 18.6905, 37.8648)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA4 #A46640
analogous
#40A498 #407EA4 #404CA4
triadic
#407EA4 #A4407E #7EA440
tetradic
#407EA4 #9840A4 #A46640 #4CA440
square
#407EA4 #9840A4 #A46640 #4CA440
split-complementary
#407EA4 #A4404C #A49840
monochromatic
#1E3A4C #2F5C78 #407EA4 #609CC1 #8CB8D2

Accessibility & contrast

On white

4.43
#407EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#407EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA4#FFFFFF#000000##000000
##407EA41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ea4;
/* rgb */ color: rgb(64, 126, 164);
/* oklch */ color: oklch(56.8% 0.087 237.9);
Tailwind
colors: {
  custom: {
    50: '#7ea3bf',
    500: '#407ea4',
    950: '#000000',
  },
}
SCSS
$custom: #407ea4;
$custom-light: #7ea3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea4",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 202.8,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.08698,
    "h": 237.9
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#407EA4
secondary
#BD9983
accent
#8554D4
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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