#407FA7#407FA7

#407FA7 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.090 H 238.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#407FA7
RGBrgb(64, 127, 167)
HSLhsl(203, 45%, 45%)
HSVhsv(203, 62%, 65%)
CMYKcmyk(61.7%, 24%, 0%, 34.5%)
CIE-LABlab(50.75, -7.82, -27.37)
CIE-LCHlch(50.75, 28.46, 254.05°)
OKLaboklab(57.19% -0.0463 -0.0767)
OKLCHoklch(57.19% 0.09 238.9)
XYZxyz(16.6761, 19.0571, 39.3513)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA7 #A76840
analogous
#40A79B #407FA7 #404BA7
triadic
#407FA7 #A7407F #7FA740
tetradic
#407FA7 #9B40A7 #A76840 #4BA740
square
#407FA7 #9B40A7 #A76840 #4BA740
split-complementary
#407FA7 #A7404B #A79B40
monochromatic
#1E3C4F #2F5D7B #407FA7 #629DC3 #8EB8D4

Accessibility & contrast

On white

4.36
#407FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#407FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA7#FFFFFF#000000##000000
##407FA71.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7FA9
Deuteranopia (green-blind)
#5F74A6
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407fa7;
/* rgb */ color: rgb(64, 127, 167);
/* oklch */ color: oklch(57.2% 0.090 238.9);
Tailwind
colors: {
  custom: {
    50: '#7ea4c1',
    500: '#407fa7',
    950: '#000000',
  },
}
SCSS
$custom: #407fa7;
$custom-light: #7ea4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa7",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 203.301,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.08963,
    "h": 238.9
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#407FA7
secondary
#BF9B84
accent
#8654D4
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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