#407EA3#407EA3

#407EA3 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.086 H 237.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#407EA3
RGBrgb(64, 126, 163)
HSLhsl(202, 44%, 45%)
HSVhsv(202, 61%, 64%)
CMYKcmyk(60.7%, 22.7%, 0%, 36.1%)
CIE-LABlab(50.28, -8.56, -25.78)
CIE-LCHlch(50.28, 27.16, 251.63°)
OKLaboklab(56.76% -0.0466 -0.0722)
OKLCHoklch(56.76% 0.086 237.1)
XYZxyz(16.1836, 18.6545, 37.3910)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EA3 #A36540
analogous
#40A396 #407EA3 #404DA3
triadic
#407EA3 #A3407E #7EA340
tetradic
#407EA3 #9640A3 #A36540 #4DA340
square
#407EA3 #9640A3 #A36540 #4DA340
split-complementary
#407EA3 #A3404D #A39640
monochromatic
#1D3A4B #2F5C77 #407EA3 #609CC0 #8CB8D2

Accessibility & contrast

On white

4.44
#407EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#407EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EA3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EA3#FFFFFF#000000##000000
##407EA31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA5
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407ea3;
/* rgb */ color: rgb(64, 126, 163);
/* oklch */ color: oklch(56.8% 0.086 237.1);
Tailwind
colors: {
  custom: {
    50: '#7ea3be',
    500: '#407ea3',
    950: '#000000',
  },
}
SCSS
$custom: #407ea3;
$custom-light: #7ea3be;
$custom-dark: #000000;
JSON
{
  "hex": "#407ea3",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 202.424,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.08592,
    "h": 237.1
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#407EA3
secondary
#BD9882
accent
#8454D3
background
#F8FAFB
surface
#EFF3F6
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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