#407CD0#407CD0

#407CD0 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.8% C 0.144 H 257.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#407CD0
RGBrgb(64, 124, 208)
HSLhsl(215, 61%, 53%)
HSVhsv(215, 69%, 82%)
CMYKcmyk(69.2%, 40.4%, 0%, 18.4%)
CIE-LABlab(51.90, 8.16, -49.09)
CIE-LCHlch(51.90, 49.77, 279.44°)
OKLaboklab(58.75% -0.0316 -0.14)
OKLCHoklch(58.75% 0.144 257.3)
XYZxyz(20.7030, 20.0572, 62.4426)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CD0 #D09440
analogous
#40C4D0 #407CD0 #4C40D0
triadic
#407CD0 #D0407C #7CD040
tetradic
#407CD0 #D040C4 #D09440 #40D04C
square
#407CD0 #D040C4 #D09440 #40D04C
split-complementary
#407CD0 #D04C40 #C4D040
monochromatic
#1E4378 #2A5FA9 #407CD0 #719EDC #A2BFE8

Accessibility & contrast

On white

4.19
#407CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#407CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CD0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CD0#FFFFFF#000000##000000
##407CD01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D3
Deuteranopia (green-blind)
#3E76CE
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407cd0;
/* rgb */ color: rgb(64, 124, 208);
/* oklch */ color: oklch(58.8% 0.144 257.3);
Tailwind
colors: {
  custom: {
    50: '#85a1df',
    500: '#407cd0',
    950: '#000000',
  },
}
SCSS
$custom: #407cd0;
$custom-light: #85a1df;
$custom-dark: #000000;
JSON
{
  "hex": "#407cd0",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 215,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.14355,
    "h": 257.3
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#407CD0
secondary
#D5BB97
accent
#A144E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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