#407ACD#407ACD

#407ACD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.1% C 0.142 H 257.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#407ACD
RGBrgb(64, 122, 205)
HSLhsl(215, 59%, 53%)
HSVhsv(215, 69%, 80%)
CMYKcmyk(68.8%, 40.5%, 0%, 19.6%)
CIE-LABlab(51.17, 8.32, -48.55)
CIE-LCHlch(51.17, 49.26, 279.72°)
OKLaboklab(58.13% -0.0304 -0.1385)
OKLCHoklch(58.13% 0.142 257.6)
XYZxyz(20.0893, 19.4148, 60.4345)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ACD #CD9340
analogous
#40C0CD #407ACD #4C40CD
triadic
#407ACD #CD407A #7ACD40
tetradic
#407ACD #CD40C0 #CD9340 #40CD4C
square
#407ACD #CD40C0 #CD9340 #40CD4C
split-complementary
#407ACD #CD4C40 #C0CD40
monochromatic
#1E4274 #2B5DA5 #407ACD #719CDA #A1BEE6

Accessibility & contrast

On white

4.30
#407ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#407ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ACD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ACD#FFFFFF#000000##000000
##407ACD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407acd;
/* rgb */ color: rgb(64, 122, 205);
/* oklch */ color: oklch(58.1% 0.142 257.6);
Tailwind
colors: {
  custom: {
    50: '#849fdd',
    500: '#407acd',
    950: '#000000',
  },
}
SCSS
$custom: #407acd;
$custom-light: #849fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#407acd",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 215.319,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.14177,
    "h": 257.6
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#407ACD
secondary
#D3BA96
accent
#A246E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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