#407FAF#407FAF

#407FAF is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.6% C 0.099 H 243.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#407FAF
RGBrgb(64, 127, 175)
HSLhsl(206, 46%, 47%)
HSVhsv(206, 63%, 69%)
CMYKcmyk(63.4%, 27.4%, 0%, 31.4%)
CIE-LABlab(51.11, -5.14, -31.45)
CIE-LCHlch(51.11, 31.87, 260.71°)
OKLaboklab(57.59% -0.0436 -0.0885)
OKLCHoklch(57.59% 0.099 243.8)
XYZxyz(17.4387, 19.3622, 43.3674)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FAF #AF7040
analogous
#40AFA8 #407FAF #4047AF
triadic
#407FAF #AF407F #7FAF40
tetradic
#407FAF #A840AF #AF7040 #47AF40
square
#407FAF #A840AF #AF7040 #47AF40
split-complementary
#407FAF #AF4047 #AFA840
monochromatic
#1F3E55 #305E82 #407FAF #659DC7 #92B9D7

Accessibility & contrast

On white

4.31
#407FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#407FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FAF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FAF#FFFFFF#000000##000000
##407FAF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A80B1
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407faf;
/* rgb */ color: rgb(64, 127, 175);
/* oklch */ color: oklch(57.6% 0.099 243.8);
Tailwind
colors: {
  custom: {
    50: '#7fa4c7',
    500: '#407faf',
    950: '#000000',
  },
}
SCSS
$custom: #407faf;
$custom-light: #7fa4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#407faf",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 205.946,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.09868,
    "h": 243.8
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#407FAF
secondary
#C3A188
accent
#8B52D6
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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