#407CAC#407CAC

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

Color values

HEX#407CAC
RGBrgb(64, 124, 172)
HSLhsl(207, 46%, 46%)
HSVhsv(207, 63%, 67%)
CMYKcmyk(62.8%, 27.9%, 0%, 32.5%)
CIE-LABlab(50.08, -4.40, -31.32)
CIE-LCHlch(50.08, 31.63, 262.01°)
OKLaboklab(56.73% -0.0413 -0.0882)
OKLCHoklch(56.73% 0.097 244.9)
XYZxyz(16.7656, 18.4822, 41.7056)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CAC #AC7040
analogous
#40ACA6 #407CAC #4046AC
triadic
#407CAC #AC407C #7CAC40
tetradic
#407CAC #A640AC #AC7040 #46AC40
square
#407CAC #A640AC #AC7040 #46AC40
split-complementary
#407CAC #AC4046 #ACA640
monochromatic
#1F3C53 #2F5C7F #407CAC #649AC5 #91B7D6

Accessibility & contrast

On white

4.47
#407CAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#407CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CAC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CAC#FFFFFF#000000##000000
##407CAC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407cac;
/* rgb */ color: rgb(64, 124, 172);
/* oklch */ color: oklch(56.7% 0.097 244.9);
Tailwind
colors: {
  custom: {
    50: '#7fa1c5',
    500: '#407cac',
    950: '#000000',
  },
}
SCSS
$custom: #407cac;
$custom-light: #7fa1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#407cac",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 206.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.09737,
    "h": 244.9
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#407CAC
secondary
#C1A187
accent
#8D52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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