#407ACF#407ACF

#407ACF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.144 H 258.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407ACF
RGBrgb(64, 122, 207)
HSLhsl(216, 60%, 53%)
HSVhsv(216, 69%, 81%)
CMYKcmyk(69.1%, 41.1%, 0%, 18.8%)
CIE-LABlab(51.28, 9.03, -49.51)
CIE-LCHlch(51.28, 50.33, 280.34°)
OKLaboklab(58.25% -0.03 -0.1413)
OKLCHoklch(58.25% 0.144 258)
XYZxyz(20.3323, 19.5119, 61.7140)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ACF #CF9540
analogous
#40C2CF #407ACF #4D40CF
triadic
#407ACF #CF407A #7ACF40
tetradic
#407ACF #CF40C2 #CF9540 #40CF4D
square
#407ACF #CF40C2 #CF9540 #40CF4D
split-complementary
#407ACF #CF4D40 #C2CF40
monochromatic
#1E4277 #2A5DA8 #407ACF #719CDB #A2BEE8

Accessibility & contrast

On white

4.28
#407ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ACF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ACF#FFFFFF#000000##000000
##407ACF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407acf;
/* rgb */ color: rgb(64, 122, 207);
/* oklch */ color: oklch(58.3% 0.144 258.0);
Tailwind
colors: {
  custom: {
    50: '#859fde',
    500: '#407acf',
    950: '#000000',
  },
}
SCSS
$custom: #407acf;
$custom-light: #859fde;
$custom-dark: #000000;
JSON
{
  "hex": "#407acf",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 215.664,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.14443,
    "h": 258
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#407ACF
secondary
#D4BB97
accent
#A345E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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