#407FA6#407FA6

#407FA6 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.089 H 238.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#407FA6
RGBrgb(64, 127, 166)
HSLhsl(203, 44%, 45%)
HSVhsv(203, 61%, 65%)
CMYKcmyk(61.4%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.71, -8.15, -26.85)
CIE-LCHlch(50.71, 28.06, 253.12°)
OKLaboklab(57.14% -0.0467 -0.0753)
OKLCHoklch(57.14% 0.089 238.2)
XYZxyz(16.5841, 19.0203, 38.8663)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA6 #A66740
analogous
#40A69A #407FA6 #404CA6
triadic
#407FA6 #A6407F #7FA640
tetradic
#407FA6 #9A40A6 #A66740 #4CA640
square
#407FA6 #9A40A6 #A66740 #4CA640
split-complementary
#407FA6 #A6404C #A69A40
monochromatic
#1E3B4E #2F5D7A #407FA6 #619DC2 #8DB8D3

Accessibility & contrast

On white

4.37
#407FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#407FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA6#FFFFFF#000000##000000
##407FA61.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7FA8
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407fa6;
/* rgb */ color: rgb(64, 127, 166);
/* oklch */ color: oklch(57.1% 0.089 238.2);
Tailwind
colors: {
  custom: {
    50: '#7ea4c0',
    500: '#407fa6',
    950: '#000000',
  },
}
SCSS
$custom: #407fa6;
$custom-light: #7ea4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa6",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 202.941,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.08856,
    "h": 238.2
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#407FA6
secondary
#BE9A84
accent
#8554D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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