#407FAA#407FAA

#407FAA is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.093 H 240.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#407FAA
RGBrgb(64, 127, 170)
HSLhsl(204, 45%, 46%)
HSVhsv(204, 62%, 67%)
CMYKcmyk(62.4%, 25.3%, 0%, 33.3%)
CIE-LABlab(50.88, -6.82, -28.90)
CIE-LCHlch(50.88, 29.70, 256.72°)
OKLaboklab(57.34% -0.0453 -0.0812)
OKLCHoklch(57.34% 0.093 240.8)
XYZxyz(16.9567, 19.1694, 40.8289)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FAA #AA6B40
analogous
#40AAA0 #407FAA #404AAA
triadic
#407FAA #AA407F #7FAA40
tetradic
#407FAA #A040AA #AA6B40 #4AAA40
square
#407FAA #A040AA #AA6B40 #4AAA40
split-complementary
#407FAA #AA404A #AAA040
monochromatic
#1F3D51 #2F5E7E #407FAA #639DC4 #8FB9D5

Accessibility & contrast

On white

4.34
#407FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#407FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FAA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FAA#FFFFFF#000000##000000
##407FAA1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FAC
Deuteranopia (green-blind)
#5D74A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407faa;
/* rgb */ color: rgb(64, 127, 170);
/* oklch */ color: oklch(57.3% 0.093 240.8);
Tailwind
colors: {
  custom: {
    50: '#7fa4c3',
    500: '#407faa',
    950: '#000000',
  },
}
SCSS
$custom: #407faa;
$custom-light: #7fa4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#407faa",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 204.34,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.09295,
    "h": 240.8
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#407FAA
secondary
#C09D86
accent
#8853D5
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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