#407EA9#407EA9

#407EA9 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.092 H 241.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407EA9
RGBrgb(64, 126, 169)
HSLhsl(205, 45%, 46%)
HSVhsv(205, 62%, 66%)
CMYKcmyk(62.1%, 25.4%, 0%, 33.7%)
CIE-LABlab(50.54, -6.58, -28.86)
CIE-LCHlch(50.54, 29.60, 257.16°)
OKLaboklab(57.05% -0.0445 -0.081)
OKLCHoklch(57.05% 0.092 241.2)
XYZxyz(16.7339, 18.8747, 40.2897)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA9 #A96B40
analogous
#40A99F #407EA9 #404AA9
triadic
#407EA9 #A9407E #7EA940
tetradic
#407EA9 #9F40A9 #A96B40 #4AA940
square
#407EA9 #9F40A9 #A96B40 #4AA940
split-complementary
#407EA9 #A9404A #A99F40
monochromatic
#1E3C50 #2F5D7D #407EA9 #629CC4 #8FB8D5

Accessibility & contrast

On white

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

On black

4.78
#407EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA9#FFFFFF#000000##000000
##407EA91.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAB
Deuteranopia (green-blind)
#5C74A8
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ea9;
/* rgb */ color: rgb(64, 126, 169);
/* oklch */ color: oklch(57.0% 0.092 241.2);
Tailwind
colors: {
  custom: {
    50: '#7fa3c2',
    500: '#407ea9',
    950: '#000000',
  },
}
SCSS
$custom: #407ea9;
$custom-light: #7fa3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea9",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 204.571,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.09247,
    "h": 241.2
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#407EA9
secondary
#C09D85
accent
#8853D5
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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