#407EA5#407EA5

#407EA5 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.088 H 238.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#407EA5
RGBrgb(64, 126, 165)
HSLhsl(203, 44%, 45%)
HSVhsv(203, 61%, 65%)
CMYKcmyk(61.2%, 23.6%, 0%, 35.3%)
CIE-LABlab(50.37, -7.90, -26.81)
CIE-LCHlch(50.37, 27.95, 253.57°)
OKLaboklab(56.86% -0.0459 -0.0751)
OKLCHoklch(56.86% 0.088 238.6)
XYZxyz(16.3642, 18.7267, 38.3423)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA5 #A56740
analogous
#40A599 #407EA5 #404CA5
triadic
#407EA5 #A5407E #7EA540
tetradic
#407EA5 #9940A5 #A56740 #4CA540
square
#407EA5 #9940A5 #A56740 #4CA540
split-complementary
#407EA5 #A5404C #A59940
monochromatic
#1E3B4D #2F5C79 #407EA5 #619CC2 #8DB8D3

Accessibility & contrast

On white

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

On black

4.75
#407EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA5#FFFFFF#000000##000000
##407EA51.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407ea5;
/* rgb */ color: rgb(64, 126, 165);
/* oklch */ color: oklch(56.9% 0.088 238.6);
Tailwind
colors: {
  custom: {
    50: '#7ea3c0',
    500: '#407ea5',
    950: '#000000',
  },
}
SCSS
$custom: #407ea5;
$custom-light: #7ea3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea5",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 203.168,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.08805,
    "h": 238.6
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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