#407FA8#407FA8

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

Color values

HEX#407FA8
RGBrgb(64, 127, 168)
HSLhsl(204, 45%, 45%)
HSVhsv(204, 62%, 66%)
CMYKcmyk(61.9%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.80, -7.49, -27.88)
CIE-LCHlch(50.80, 28.87, 254.96°)
OKLaboklab(57.24% -0.046 -0.0782)
OKLCHoklch(57.24% 0.091 239.5)
XYZxyz(16.7689, 19.0943, 39.8400)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA8 #A86940
analogous
#40A89D #407FA8 #404BA8
triadic
#407FA8 #A8407F #7FA840
tetradic
#407FA8 #9D40A8 #A86940 #4BA840
square
#407FA8 #9D40A8 #A86940 #4BA840
split-complementary
#407FA8 #A8404B #A89D40
monochromatic
#1E3C4F #2F5D7C #407FA8 #629DC3 #8EB9D4

Accessibility & contrast

On white

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

On black

4.82
#407FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA8#FFFFFF#000000##000000
##407FA81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407fa8;
/* rgb */ color: rgb(64, 127, 168);
/* oklch */ color: oklch(57.2% 0.091 239.5);
Tailwind
colors: {
  custom: {
    50: '#7ea4c2',
    500: '#407fa8',
    950: '#000000',
  },
}
SCSS
$custom: #407fa8;
$custom-light: #7ea4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa8",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 203.654,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.09072,
    "h": 239.5
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#407FA8
secondary
#BF9C85
accent
#8653D5
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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