#407F97#407F97

#407F97 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.074 H 225.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#407F97
RGBrgb(64, 127, 151)
HSLhsl(197, 40%, 42%)
HSVhsv(197, 58%, 59%)
CMYKcmyk(57.6%, 15.9%, 0%, 40.8%)
CIE-LABlab(50.10, -12.99, -19.06)
CIE-LCHlch(50.10, 23.07, 235.72°)
OKLaboklab(56.45% -0.0523 -0.053)
OKLCHoklch(56.45% 0.074 225.4)
XYZxyz(15.2875, 18.5017, 32.0377)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407F97 #975840
analogous
#409784 #407F97 #405397
triadic
#407F97 #97407F #7F9740
tetradic
#407F97 #844097 #975840 #539740
square
#407F97 #844097 #975840 #539740
split-complementary
#407F97 #974053 #978440
monochromatic
#1C3741 #2E5B6C #407F97 #5B9FB9 #86B8CC

Accessibility & contrast

On white

4.47
#407F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#407F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407F97
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407F97#FFFFFF#000000##000000
##407F971.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D98
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407f97;
/* rgb */ color: rgb(64, 127, 151);
/* oklch */ color: oklch(56.5% 0.074 225.4);
Tailwind
colors: {
  custom: {
    50: '#7ca4b5',
    500: '#407f97',
    950: '#000000',
  },
}
SCSS
$custom: #407f97;
$custom-light: #7ca4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#407f97",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 196.552,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.07446,
    "h": 225.4
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#407F97
secondary
#B68C7D
accent
#7957D0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407F97

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

Preview Lab → · Contrast checker → · Palette generator →

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