#407CAF#407CAF

#407CAF is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.101 H 246.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#407CAF
RGBrgb(64, 124, 175)
HSLhsl(208, 46%, 47%)
HSVhsv(208, 63%, 69%)
CMYKcmyk(63.4%, 29.1%, 0%, 31.4%)
CIE-LABlab(50.21, -3.38, -32.84)
CIE-LCHlch(50.21, 33.02, 264.12°)
OKLaboklab(56.88% -0.0404 -0.0926)
OKLCHoklch(56.88% 0.101 246.4)
XYZxyz(17.0570, 18.5988, 43.2401)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CAF #AF7340
analogous
#40AFAB #407CAF #4044AF
triadic
#407CAF #AF407C #7CAF40
tetradic
#407CAF #AB40AF #AF7340 #44AF40
square
#407CAF #AB40AF #AF7340 #44AF40
split-complementary
#407CAF #AF4044 #AFAB40
monochromatic
#1F3C55 #305C82 #407CAF #659AC7 #92B7D7

Accessibility & contrast

On white

4.45
#407CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#407CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CAF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CAF#FFFFFF#000000##000000
##407CAF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB1
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407caf;
/* rgb */ color: rgb(64, 124, 175);
/* oklch */ color: oklch(56.9% 0.101 246.4);
Tailwind
colors: {
  custom: {
    50: '#7fa1c7',
    500: '#407caf',
    950: '#000000',
  },
}
SCSS
$custom: #407caf;
$custom-light: #7fa1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#407caf",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 207.568,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.101,
    "h": 246.4
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#407CAF
secondary
#C3A388
accent
#8F52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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