#407DA8#407DA8

#407DA8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.092 H 241.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#407DA8
RGBrgb(64, 125, 168)
HSLhsl(205, 45%, 45%)
HSVhsv(205, 62%, 66%)
CMYKcmyk(61.9%, 25.6%, 0%, 34.1%)
CIE-LABlab(50.20, -6.33, -28.82)
CIE-LCHlch(50.20, 29.50, 257.62°)
OKLaboklab(56.76% -0.0438 -0.0809)
OKLCHoklch(56.76% 0.092 241.6)
XYZxyz(16.5132, 18.5828, 39.7548)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DA8 #A86B40
analogous
#40A89F #407DA8 #4049A8
triadic
#407DA8 #A8407D #7DA840
tetradic
#407DA8 #9F40A8 #A86B40 #49A840
square
#407DA8 #9F40A8 #A86B40 #49A840
split-complementary
#407DA8 #A84049 #A89F40
monochromatic
#1E3B4F #2F5C7C #407DA8 #629BC3 #8EB7D4

Accessibility & contrast

On white

4.45
#407DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#407DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DA8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DA8#FFFFFF#000000##000000
##407DA81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DAA
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407da8;
/* rgb */ color: rgb(64, 125, 168);
/* oklch */ color: oklch(56.8% 0.092 241.6);
Tailwind
colors: {
  custom: {
    50: '#7ea2c2',
    500: '#407da8',
    950: '#000000',
  },
}
SCSS
$custom: #407da8;
$custom-light: #7ea2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407da8",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 204.808,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.09199,
    "h": 241.6
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#407DA8
secondary
#BF9D85
accent
#8953D5
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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