#407A8A#407A8A

#407A8A is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.065 H 217.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#407A8A
RGBrgb(64, 122, 138)
HSLhsl(193, 37%, 40%)
HSVhsv(193, 54%, 54%)
CMYKcmyk(53.6%, 11.6%, 0%, 45.9%)
CIE-LABlab(48.06, -14.23, -14.53)
CIE-LCHlch(48.06, 20.34, 225.61°)
OKLaboklab(54.66% -0.0516 -0.0402)
OKLCHoklch(54.66% 0.065 217.9)
XYZxyz(13.6596, 16.8428, 26.5710)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A8A #8A5040
analogous
#408A75 #407A8A #40558A
triadic
#407A8A #8A407A #7A8A40
tetradic
#407A8A #75408A #8A5040 #558A40
square
#407A8A #75408A #8A5040 #558A40
split-complementary
#407A8A #8A4055 #8A7540
monochromatic
#193036 #2D5560 #407A8A #569DB1 #80B5C4

Accessibility & contrast

On white

4.81
#407A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#407A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A8A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A8A#FFFFFF#000000##FFFFFF
##407A8A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#0D807F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407a8a;
/* rgb */ color: rgb(64, 122, 138);
/* oklch */ color: oklch(54.7% 0.065 217.9);
Tailwind
colors: {
  custom: {
    50: '#7ba0ac',
    500: '#407a8a',
    950: '#000000',
  },
}
SCSS
$custom: #407a8a;
$custom-light: #7ba0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407a8a",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 192.973,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.06543,
    "h": 217.9
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#407A8A
secondary
#AF8377
accent
#745BCD
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #407A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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