#407DB7#407DB7

#407DB7 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.110 H 249.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#407DB7
RGBrgb(64, 125, 183)
HSLhsl(209, 48%, 48%)
HSVhsv(209, 65%, 72%)
CMYKcmyk(65%, 31.7%, 0%, 28.2%)
CIE-LABlab(50.89, -1.23, -36.40)
CIE-LCHlch(50.89, 36.42, 268.06°)
OKLaboklab(57.54% -0.039 -0.1029)
OKLCHoklch(57.54% 0.11 249.2)
XYZxyz(17.9921, 19.1743, 47.5434)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB7 #B77A40
analogous
#40B7B5 #407DB7 #4041B7
triadic
#407DB7 #B7407D #7DB740
tetradic
#407DB7 #B540B7 #B77A40 #41B740
square
#407DB7 #B540B7 #B77A40 #41B740
split-complementary
#407DB7 #B74041 #B7B540
monochromatic
#203F5C #305E8A #407DB7 #699BCB #97BADB

Accessibility & contrast

On white

4.34
#407DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#407DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB7#FFFFFF#000000##000000
##407DB71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480BA
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407db7;
/* rgb */ color: rgb(64, 125, 183);
/* oklch */ color: oklch(57.5% 0.110 249.2);
Tailwind
colors: {
  custom: {
    50: '#81a2cd',
    500: '#407db7',
    950: '#000000',
  },
}
SCSS
$custom: #407db7;
$custom-light: #81a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407db7",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 209.244,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5754,
    "c": 0.11005,
    "h": 249.2
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#407DB7
secondary
#C6A98D
accent
#9250D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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