#407797#407797

#407797 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.077 H 236.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#407797
RGBrgb(64, 119, 151)
HSLhsl(202, 40%, 42%)
HSVhsv(202, 58%, 59%)
CMYKcmyk(57.6%, 21.2%, 0%, 40.8%)
CIE-LABlab(47.65, -8.43, -22.83)
CIE-LCHlch(47.65, 24.34, 249.73°)
OKLaboklab(54.5% -0.0429 -0.0637)
OKLCHoklch(54.5% 0.077 236.1)
XYZxyz(14.2950, 16.5167, 31.7069)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407797 #976040
analogous
#40978C #407797 #404C97
triadic
#407797 #974077 #779740
tetradic
#407797 #8C4097 #976040 #4C9740
square
#407797 #8C4097 #976040 #4C9740
split-complementary
#407797 #97404C #978C40
monochromatic
#1C3341 #2E556C #407797 #5B97B9 #86B2CC

Accessibility & contrast

On white

4.88
#407797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#407797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407797
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407797#FFFFFF#000000##FFFFFF
##4077971.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#007F82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407797;
/* rgb */ color: rgb(64, 119, 151);
/* oklch */ color: oklch(54.5% 0.077 236.1);
Tailwind
colors: {
  custom: {
    50: '#7c9eb5',
    500: '#407797',
    950: '#000000',
  },
}
SCSS
$custom: #407797;
$custom-light: #7c9eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#407797",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 202.069,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.07684,
    "h": 236.1
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#407797
secondary
#B6927D
accent
#8457D0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #407797

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

Preview Lab → · Contrast checker → · Palette generator →

#407797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva