#407AA2#407AA2

#407AA2 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.087 H 240.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#407AA2
RGBrgb(64, 122, 162)
HSLhsl(204, 43%, 44%)
HSVhsv(204, 60%, 64%)
CMYKcmyk(60.5%, 24.7%, 0%, 36.5%)
CIE-LABlab(49.03, -6.57, -27.14)
CIE-LCHlch(49.03, 27.92, 256.38°)
OKLaboklab(55.75% -0.0424 -0.0761)
OKLCHoklch(55.75% 0.087 240.9)
XYZxyz(15.5930, 17.6162, 36.7539)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AA2 #A26840
analogous
#40A299 #407AA2 #4049A2
triadic
#407AA2 #A2407A #7AA240
tetradic
#407AA2 #9940A2 #A26840 #49A240
square
#407AA2 #9940A2 #A26840 #49A240
split-complementary
#407AA2 #A24049 #A29940
monochromatic
#1D384A #2F5976 #407AA2 #5F98C0 #8BB5D1

Accessibility & contrast

On white

4.64
#407AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#407AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407AA2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AA2#FFFFFF#000000##FFFFFF
##407AA21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407aa2;
/* rgb */ color: rgb(64, 122, 162);
/* oklch */ color: oklch(55.8% 0.087 240.9);
Tailwind
colors: {
  custom: {
    50: '#7ea0bd',
    500: '#407aa2',
    950: '#000000',
  },
}
SCSS
$custom: #407aa2;
$custom-light: #7ea0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407aa2",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 204.49,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.08713,
    "h": 240.9
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#407AA2
secondary
#BC9A82
accent
#8855D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #407AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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