#407DA7#407DA7

#407DA7 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.091 H 241.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#407DA7
RGBrgb(64, 125, 167)
HSLhsl(204, 45%, 45%)
HSVhsv(204, 62%, 65%)
CMYKcmyk(61.7%, 25.1%, 0%, 34.5%)
CIE-LABlab(50.15, -6.66, -28.30)
CIE-LCHlch(50.15, 29.08, 256.76°)
OKLaboklab(56.71% -0.0441 -0.0794)
OKLCHoklch(56.71% 0.091 241)
XYZxyz(16.4204, 18.5457, 39.2660)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DA7 #A76A40
analogous
#40A79D #407DA7 #4049A7
triadic
#407DA7 #A7407D #7DA740
tetradic
#407DA7 #9D40A7 #A76A40 #49A740
square
#407DA7 #9D40A7 #A76A40 #49A740
split-complementary
#407DA7 #A74049 #A79D40
monochromatic
#1E3B4F #2F5C7B #407DA7 #629BC3 #8EB7D4

Accessibility & contrast

On white

4.46
#407DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#407DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DA7#FFFFFF#000000##000000
##407DA71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5C73A6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407da7;
/* rgb */ color: rgb(64, 125, 167);
/* oklch */ color: oklch(56.7% 0.091 241.0);
Tailwind
colors: {
  custom: {
    50: '#7ea2c1',
    500: '#407da7',
    950: '#000000',
  },
}
SCSS
$custom: #407da7;
$custom-light: #7ea2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#407da7",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 204.466,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.09086,
    "h": 241
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#407DA7
secondary
#BF9C84
accent
#8854D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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