#407E97#407E97

#407E97 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.075 H 226.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#407E97
RGBrgb(64, 126, 151)
HSLhsl(197, 40%, 42%)
HSVhsv(197, 58%, 59%)
CMYKcmyk(57.6%, 16.6%, 0%, 40.8%)
CIE-LABlab(49.79, -12.43, -19.53)
CIE-LCHlch(49.79, 23.15, 237.52°)
OKLaboklab(56.21% -0.0511 -0.0543)
OKLCHoklch(56.21% 0.075 226.7)
XYZxyz(15.1590, 18.2447, 31.9949)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E97 #975940
analogous
#409784 #407E97 #405397
triadic
#407E97 #97407E #7E9740
tetradic
#407E97 #844097 #975940 #539740
square
#407E97 #844097 #975940 #539740
split-complementary
#407E97 #974053 #978440
monochromatic
#1C3641 #2E5A6C #407E97 #5B9EB9 #86B8CC

Accessibility & contrast

On white

4.52
#407E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#407E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407E97
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E97#FFFFFF#000000##000000
##407E971.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#647297
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407e97;
/* rgb */ color: rgb(64, 126, 151);
/* oklch */ color: oklch(56.2% 0.075 226.7);
Tailwind
colors: {
  custom: {
    50: '#7ca3b5',
    500: '#407e97',
    950: '#000000',
  },
}
SCSS
$custom: #407e97;
$custom-light: #7ca3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#407e97",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 197.241,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.07461,
    "h": 226.7
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

primary
#407E97
secondary
#B68D7D
accent
#7A57D0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407E97

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

Preview Lab → · Contrast checker → · Palette generator →

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