#407FA3#407FA3

#407FA3 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.085 H 236.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407FA3
RGBrgb(64, 127, 163)
HSLhsl(202, 44%, 45%)
HSVhsv(202, 61%, 64%)
CMYKcmyk(60.7%, 22.1%, 0%, 36.1%)
CIE-LABlab(50.58, -9.14, -25.31)
CIE-LCHlch(50.58, 26.91, 250.15°)
OKLaboklab(57% -0.0478 -0.0708)
OKLCHoklch(57% 0.085 236)
XYZxyz(16.3121, 18.9115, 37.4339)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA3 #A36440
analogous
#40A396 #407FA3 #404EA3
triadic
#407FA3 #A3407F #7FA340
tetradic
#407FA3 #9640A3 #A36440 #4EA340
square
#407FA3 #9640A3 #A36440 #4EA340
split-complementary
#407FA3 #A3404E #A39640
monochromatic
#1D3B4B #2F5D77 #407FA3 #609DC0 #8CB8D2

Accessibility & contrast

On white

4.39
#407FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#407FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA3#FFFFFF#000000##000000
##407FA31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA5
Deuteranopia (green-blind)
#6074A2
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407fa3;
/* rgb */ color: rgb(64, 127, 163);
/* oklch */ color: oklch(57.0% 0.085 236.0);
Tailwind
colors: {
  custom: {
    50: '#7ea4be',
    500: '#407fa3',
    950: '#000000',
  },
}
SCSS
$custom: #407fa3;
$custom-light: #7ea4be;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa3",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 201.818,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.08542,
    "h": 236
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#407FA3
secondary
#BD9782
accent
#8354D3
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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