#407DA4#407DA4

#407DA4 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.088 H 239.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#407DA4
RGBrgb(64, 125, 164)
HSLhsl(203, 44%, 45%)
HSVhsv(203, 61%, 64%)
CMYKcmyk(61%, 23.8%, 0%, 35.7%)
CIE-LABlab(50.02, -7.66, -26.76)
CIE-LCHlch(50.02, 27.84, 254.04°)
OKLaboklab(56.57% -0.0451 -0.075)
OKLCHoklch(56.57% 0.088 239)
XYZxyz(16.1463, 18.4360, 37.8224)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DA4 #A46740
analogous
#40A499 #407DA4 #404BA4
triadic
#407DA4 #A4407D #7DA440
tetradic
#407DA4 #9940A4 #A46740 #4BA440
square
#407DA4 #9940A4 #A46740 #4BA440
split-complementary
#407DA4 #A4404B #A49940
monochromatic
#1E3A4C #2F5B78 #407DA4 #609BC1 #8CB7D2

Accessibility & contrast

On white

4.48
#407DA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#407DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DA4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DA4#FFFFFF#000000##000000
##407DA41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA6
Deuteranopia (green-blind)
#5E73A3
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407da4;
/* rgb */ color: rgb(64, 125, 164);
/* oklch */ color: oklch(56.6% 0.088 239.0);
Tailwind
colors: {
  custom: {
    50: '#7ea2bf',
    500: '#407da4',
    950: '#000000',
  },
}
SCSS
$custom: #407da4;
$custom-light: #7ea2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#407da4",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 203.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.08754,
    "h": 239
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#407DA4
secondary
#BD9983
accent
#8654D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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