#407DB5#407DB5

#407DB5 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.4% C 0.108 H 248.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#407DB5
RGBrgb(64, 125, 181)
HSLhsl(209, 48%, 48%)
HSVhsv(209, 65%, 71%)
CMYKcmyk(64.6%, 30.9%, 0%, 29%)
CIE-LABlab(50.79, -1.92, -35.40)
CIE-LCHlch(50.79, 35.45, 266.90°)
OKLaboklab(57.43% -0.0396 -0.1)
OKLCHoklch(57.43% 0.108 248.4)
XYZxyz(17.7854, 19.0917, 46.4549)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB5 #B57840
analogous
#40B5B2 #407DB5 #4042B5
triadic
#407DB5 #B5407D #7DB540
tetradic
#407DB5 #B240B5 #B57840 #42B540
square
#407DB5 #B240B5 #B57840 #42B540
split-complementary
#407DB5 #B54042 #B5B240
monochromatic
#203F5B #305E88 #407DB5 #689BCA #96B9DA

Accessibility & contrast

On white

4.36
#407DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#407DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB5#FFFFFF#000000##000000
##407DB51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB7
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407db5;
/* rgb */ color: rgb(64, 125, 181);
/* oklch */ color: oklch(57.4% 0.108 248.4);
Tailwind
colors: {
  custom: {
    50: '#80a2cb',
    500: '#407db5',
    950: '#000000',
  },
}
SCSS
$custom: #407db5;
$custom-light: #80a2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#407db5",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 208.718,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.10755,
    "h": 248.4
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#407DB5
secondary
#C5A78B
accent
#9150D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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