#407AA8#407AA8

#407AA8 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.094 H 244.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#407AA8
RGBrgb(64, 122, 168)
HSLhsl(207, 45%, 45%)
HSVhsv(207, 62%, 66%)
CMYKcmyk(61.9%, 27.4%, 0%, 34.1%)
CIE-LABlab(49.30, -4.57, -30.22)
CIE-LCHlch(49.30, 30.56, 261.40°)
OKLaboklab(56.05% -0.0404 -0.085)
OKLCHoklch(56.05% 0.094 244.6)
XYZxyz(16.1391, 17.8347, 39.6301)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AA8 #A86E40
analogous
#40A8A2 #407AA8 #4046A8
triadic
#407AA8 #A8407A #7AA840
tetradic
#407AA8 #A240A8 #A86E40 #46A840
square
#407AA8 #A240A8 #A86E40 #46A840
split-complementary
#407AA8 #A84046 #A8A240
monochromatic
#1E3A4F #2F5A7C #407AA8 #6298C3 #8EB5D4

Accessibility & contrast

On white

4.60
#407AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#407AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407AA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AA8#FFFFFF#000000##FFFFFF
##407AA81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407aa8;
/* rgb */ color: rgb(64, 122, 168);
/* oklch */ color: oklch(56.1% 0.094 244.6);
Tailwind
colors: {
  custom: {
    50: '#7ea0c2',
    500: '#407aa8',
    950: '#000000',
  },
}
SCSS
$custom: #407aa8;
$custom-light: #7ea0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407aa8",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 206.538,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.09411,
    "h": 244.6
  },
  "luminance": 0.17836
}

Semantic roles & 50–950 ramp

primary
#407AA8
secondary
#BF9F85
accent
#8C53D5
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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