#407EA2#407EA2

#407EA2 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.085 H 236.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#407EA2
RGBrgb(64, 126, 162)
HSLhsl(202, 43%, 44%)
HSVhsv(202, 60%, 64%)
CMYKcmyk(60.5%, 22.2%, 0%, 36.5%)
CIE-LABlab(50.24, -8.89, -25.26)
CIE-LCHlch(50.24, 26.78, 250.61°)
OKLaboklab(56.71% -0.047 -0.0707)
OKLCHoklch(56.71% 0.085 236.4)
XYZxyz(16.0943, 18.6188, 36.9210)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA2 #A26440
analogous
#40A295 #407EA2 #404DA2
triadic
#407EA2 #A2407E #7EA240
tetradic
#407EA2 #9540A2 #A26440 #4DA240
square
#407EA2 #9540A2 #A26440 #4DA240
split-complementary
#407EA2 #A2404D #A29540
monochromatic
#1D3A4A #2F5C76 #407EA2 #5F9CC0 #8BB7D1

Accessibility & contrast

On white

4.45
#407EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#407EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA2#FFFFFF#000000##000000
##407EA21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ea2;
/* rgb */ color: rgb(64, 126, 162);
/* oklch */ color: oklch(56.7% 0.085 236.4);
Tailwind
colors: {
  custom: {
    50: '#7ea3bd',
    500: '#407ea2',
    950: '#000000',
  },
}
SCSS
$custom: #407ea2;
$custom-light: #7ea3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea2",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 202.041,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.08488,
    "h": 236.4
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#407EA2
secondary
#BC9782
accent
#8355D3
background
#F8FAFB
surface
#EFF3F6
border
#CACDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #407EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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