#407FA4#407FA4

#407FA4 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.086 H 236.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407FA4
RGBrgb(64, 127, 164)
HSLhsl(202, 44%, 45%)
HSVhsv(202, 61%, 64%)
CMYKcmyk(61%, 22.6%, 0%, 35.7%)
CIE-LABlab(50.63, -8.81, -25.83)
CIE-LCHlch(50.63, 27.29, 251.16°)
OKLaboklab(57.05% -0.0474 -0.0723)
OKLCHoklch(57.05% 0.086 236.8)
XYZxyz(16.4020, 18.9475, 37.9076)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA4 #A46540
analogous
#40A497 #407FA4 #404DA4
triadic
#407FA4 #A4407F #7FA440
tetradic
#407FA4 #9740A4 #A46540 #4DA440
square
#407FA4 #9740A4 #A46540 #4DA440
split-complementary
#407FA4 #A4404D #A49740
monochromatic
#1E3B4C #2F5D78 #407FA4 #609DC1 #8CB8D2

Accessibility & contrast

On white

4.38
#407FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#407FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA4#FFFFFF#000000##000000
##407FA41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA6
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407fa4;
/* rgb */ color: rgb(64, 127, 164);
/* oklch */ color: oklch(57.0% 0.086 236.8);
Tailwind
colors: {
  custom: {
    50: '#7ea4bf',
    500: '#407fa4',
    950: '#000000',
  },
}
SCSS
$custom: #407fa4;
$custom-light: #7ea4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa4",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 202.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.08645,
    "h": 236.8
  },
  "luminance": 0.18949
}

Semantic roles & 50–950 ramp

primary
#407FA4
secondary
#BD9883
accent
#8354D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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