#407D9D#407D9D

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

Color values

HEX#407D9D
RGBrgb(64, 125, 157)
HSLhsl(201, 42%, 43%)
HSVhsv(201, 59%, 62%)
CMYKcmyk(59.2%, 20.4%, 0%, 38.4%)
CIE-LABlab(49.73, -9.95, -23.14)
CIE-LCHlch(49.73, 25.19, 246.74°)
OKLaboklab(56.24% -0.0477 -0.0646)
OKLCHoklch(56.24% 0.08 233.6)
XYZxyz(15.5315, 18.1901, 34.5843)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D9D #9D6040
analogous
#409D8E #407D9D #404E9D
triadic
#407D9D #9D407D #7D9D40
tetradic
#407D9D #8E409D #9D6040 #4E9D40
square
#407D9D #8E409D #9D6040 #4E9D40
split-complementary
#407D9D #9D404E #9D8E40
monochromatic
#1D3846 #2E5A72 #407D9D #5D9CBD #89B7CF

Accessibility & contrast

On white

4.53
#407D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#407D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407D9D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D9D#FFFFFF#000000##000000
##407D9D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407d9d;
/* rgb */ color: rgb(64, 125, 157);
/* oklch */ color: oklch(56.2% 0.080 233.6);
Tailwind
colors: {
  custom: {
    50: '#7da2ba',
    500: '#407d9d',
    950: '#000000',
  },
}
SCSS
$custom: #407d9d;
$custom-light: #7da2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#407d9d",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 200.645,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.08029,
    "h": 233.6
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#407D9D
secondary
#B9937F
accent
#8156D2
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0F11
muted
#7C7E80

Preview Lab

Preview with #407D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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