#407D97#407D97

#407D97 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.075 H 228.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#407D97
RGBrgb(64, 125, 151)
HSLhsl(198, 40%, 42%)
HSVhsv(198, 58%, 59%)
CMYKcmyk(57.6%, 17.2%, 0%, 40.8%)
CIE-LABlab(49.48, -11.87, -20.00)
CIE-LCHlch(49.48, 23.26, 239.32°)
OKLaboklab(55.96% -0.05 -0.0557)
OKLCHoklch(55.96% 0.075 228.1)
XYZxyz(15.0317, 17.9902, 31.9525)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D97 #975A40
analogous
#409786 #407D97 #405297
triadic
#407D97 #97407D #7D9740
tetradic
#407D97 #864097 #975A40 #529740
square
#407D97 #864097 #975A40 #529740
split-complementary
#407D97 #974052 #978640
monochromatic
#1C3641 #2E596C #407D97 #5B9DB9 #86B7CC

Accessibility & contrast

On white

4.57
#407D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#407D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407D97
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D97#FFFFFF#000000##000000
##407D971.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B98
Deuteranopia (green-blind)
#637297
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407d97;
/* rgb */ color: rgb(64, 125, 151);
/* oklch */ color: oklch(56.0% 0.075 228.1);
Tailwind
colors: {
  custom: {
    50: '#7ca2b5',
    500: '#407d97',
    950: '#000000',
  },
}
SCSS
$custom: #407d97;
$custom-light: #7ca2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#407d97",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 151
  },
  "hsl": {
    "h": 197.931,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.0748,
    "h": 228.1
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#407D97
secondary
#B68E7D
accent
#7C57D0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407D97

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

Preview Lab → · Contrast checker → · Palette generator →

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