#407F9D#407F9D

#407F9D is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.080 H 231.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#407F9D
RGBrgb(64, 127, 157)
HSLhsl(199, 42%, 43%)
HSVhsv(199, 59%, 62%)
CMYKcmyk(59.2%, 19.1%, 0%, 38.4%)
CIE-LABlab(50.34, -11.08, -22.20)
CIE-LCHlch(50.34, 24.81, 243.47°)
OKLaboklab(56.72% -0.05 -0.0619)
OKLCHoklch(56.72% 0.08 231.1)
XYZxyz(15.7872, 18.7016, 34.6695)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407F9D #9D5E40
analogous
#409D8C #407F9D #40509D
triadic
#407F9D #9D407F #7F9D40
tetradic
#407F9D #8C409D #9D5E40 #509D40
square
#407F9D #8C409D #9D5E40 #509D40
split-complementary
#407F9D #9D4050 #9D8C40
monochromatic
#1D3946 #2E5C72 #407F9D #5D9EBD #89B8CF

Accessibility & contrast

On white

4.43
#407F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#407F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407F9D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407F9D#FFFFFF#000000##000000
##407F9D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707D9E
Deuteranopia (green-blind)
#63749D
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407f9d;
/* rgb */ color: rgb(64, 127, 157);
/* oklch */ color: oklch(56.7% 0.080 231.1);
Tailwind
colors: {
  custom: {
    50: '#7da4ba',
    500: '#407f9d',
    950: '#000000',
  },
}
SCSS
$custom: #407f9d;
$custom-light: #7da4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#407f9d",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 199.355,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.07957,
    "h": 231.1
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#407F9D
secondary
#B9927F
accent
#7E56D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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