#407F99#407F99

#407F99 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.5% C 0.076 H 227.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#407F99
RGBrgb(64, 127, 153)
HSLhsl(198, 41%, 43%)
HSVhsv(198, 58%, 60%)
CMYKcmyk(58.2%, 17%, 0%, 40%)
CIE-LABlab(50.18, -12.36, -20.11)
CIE-LCHlch(50.18, 23.60, 238.42°)
OKLaboklab(56.54% -0.0515 -0.056)
OKLCHoklch(56.54% 0.076 227.4)
XYZxyz(15.4513, 18.5672, 32.9004)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407F99 #995A40
analogous
#409986 #407F99 #405299
triadic
#407F99 #99407F #7F9940
tetradic
#407F99 #864099 #995A40 #529940
square
#407F99 #864099 #995A40 #529940
split-complementary
#407F99 #994052 #998640
monochromatic
#1C3743 #2E5B6E #407F99 #5C9FBB #87B8CD

Accessibility & contrast

On white

4.46
#407F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#407F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407F99
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407F99#FFFFFF#000000##000000
##407F991.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#717D9A
Deuteranopia (green-blind)
#657399
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407f99;
/* rgb */ color: rgb(64, 127, 153);
/* oklch */ color: oklch(56.5% 0.076 227.4);
Tailwind
colors: {
  custom: {
    50: '#7da4b7',
    500: '#407f99',
    950: '#000000',
  },
}
SCSS
$custom: #407f99;
$custom-light: #7da4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#407f99",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 153
  },
  "hsl": {
    "h": 197.528,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.07607,
    "h": 227.4
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#407F99
secondary
#B78E7E
accent
#7B57D1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407F99

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

Preview Lab → · Contrast checker → · Palette generator →

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