#407A9F#407A9F

#407A9F is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.084 H 238.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#407A9F
RGBrgb(64, 122, 159)
HSLhsl(203, 43%, 44%)
HSVhsv(203, 60%, 62%)
CMYKcmyk(59.7%, 23.3%, 0%, 37.6%)
CIE-LABlab(48.90, -7.56, -25.59)
CIE-LCHlch(48.90, 26.68, 253.53°)
OKLaboklab(55.61% -0.0435 -0.0716)
OKLCHoklch(55.61% 0.084 238.7)
XYZxyz(15.3296, 17.5108, 35.3662)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A9F #9F6540
analogous
#409F94 #407A9F #404A9F
triadic
#407A9F #9F407A #7A9F40
tetradic
#407A9F #94409F #9F6540 #4A9F40
square
#407A9F #94409F #9F6540 #4A9F40
split-complementary
#407A9F #9F404A #9F9440
monochromatic
#1D3748 #2E5973 #407A9F #5E99BE #8AB4D0

Accessibility & contrast

On white

4.66
#407A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#407A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407A9F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A9F#FFFFFF#000000##FFFFFF
##407A9F1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697AA1
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407a9f;
/* rgb */ color: rgb(64, 122, 159);
/* oklch */ color: oklch(55.6% 0.084 238.7);
Tailwind
colors: {
  custom: {
    50: '#7da0bb',
    500: '#407a9f',
    950: '#000000',
  },
}
SCSS
$custom: #407a9f;
$custom-light: #7da0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#407a9f",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 203.368,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.08381,
    "h": 238.7
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#407A9F
secondary
#BB9780
accent
#8655D2
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #407A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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