#407DB2#407DB2

#407DB2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.3% C 0.104 H 247.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407DB2
RGBrgb(64, 125, 178)
HSLhsl(208, 47%, 47%)
HSVhsv(208, 64%, 70%)
CMYKcmyk(64%, 29.8%, 0%, 30.2%)
CIE-LABlab(50.65, -2.95, -33.89)
CIE-LCHlch(50.65, 34.02, 265.03°)
OKLaboklab(57.27% -0.0405 -0.0956)
OKLCHoklch(57.27% 0.104 247)
XYZxyz(17.4809, 18.9699, 44.8512)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB2 #B27540
analogous
#40B2AE #407DB2 #4044B2
triadic
#407DB2 #B2407D #7DB240
tetradic
#407DB2 #AE40B2 #B27540 #44B240
square
#407DB2 #AE40B2 #B27540 #44B240
split-complementary
#407DB2 #B24044 #B2AE40
monochromatic
#203E58 #305D85 #407DB2 #679BC8 #94B9D8

Accessibility & contrast

On white

4.38
#407DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#407DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB2#FFFFFF#000000##000000
##407DB21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5674B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407db2;
/* rgb */ color: rgb(64, 125, 178);
/* oklch */ color: oklch(57.3% 0.104 247.0);
Tailwind
colors: {
  custom: {
    50: '#80a2c9',
    500: '#407db2',
    950: '#000000',
  },
}
SCSS
$custom: #407db2;
$custom-light: #80a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#407db2",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 207.895,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.10384,
    "h": 247
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#407DB2
secondary
#C4A58A
accent
#8F51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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