#407FB5#407FB5

#407FB5 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.9% C 0.106 H 246.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#407FB5
RGBrgb(64, 127, 181)
HSLhsl(208, 48%, 48%)
HSVhsv(208, 65%, 71%)
CMYKcmyk(64.6%, 29.8%, 0%, 29%)
CIE-LABlab(51.39, -3.10, -34.47)
CIE-LCHlch(51.39, 34.61, 264.85°)
OKLaboklab(57.9% -0.0417 -0.0973)
OKLCHoklch(57.9% 0.106 246.8)
XYZxyz(18.0411, 19.6031, 46.5401)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FB5 #B57640
analogous
#40B5B0 #407FB5 #4045B5
triadic
#407FB5 #B5407F #7FB540
tetradic
#407FB5 #B040B5 #B57640 #45B540
square
#407FB5 #B040B5 #B57640 #45B540
split-complementary
#407FB5 #B54045 #B5B040
monochromatic
#20405B #305F88 #407FB5 #689DCA #96BADA

Accessibility & contrast

On white

4.27
#407FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#407FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FB5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FB5#FFFFFF#000000##000000
##407FB51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6781B7
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407fb5;
/* rgb */ color: rgb(64, 127, 181);
/* oklch */ color: oklch(57.9% 0.106 246.8);
Tailwind
colors: {
  custom: {
    50: '#80a3cb',
    500: '#407fb5',
    950: '#000000',
  },
}
SCSS
$custom: #407fb5;
$custom-light: #80a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#407fb5",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 207.692,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57898,
    "c": 0.10585,
    "h": 246.8
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#407FB5
secondary
#C5A68B
accent
#8F50D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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