#407ADB#407ADB

#407ADB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.160 H 260.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#407ADB
RGBrgb(64, 122, 219)
HSLhsl(218, 68%, 55%)
HSVhsv(218, 71%, 86%)
CMYKcmyk(70.8%, 44.3%, 0%, 14.1%)
CIE-LABlab(51.97, 13.33, -55.20)
CIE-LCHlch(51.97, 56.79, 283.58°)
OKLaboklab(59.01% -0.0276 -0.158)
OKLCHoklch(59.01% 0.16 260.1)
XYZxyz(21.8555, 20.1212, 69.7361)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ADB #DBA140
analogous
#40C8DB #407ADB #5340DB
triadic
#407ADB #DB407A #7ADB40
tetradic
#407ADB #DB40C8 #DBA140 #40DB53
square
#407ADB #DB40C8 #DBA140 #40DB53
split-complementary
#407ADB #DB5340 #C8DB40
monochromatic
#194387 #235CBB #407ADB #739EE5 #A7C2EE

Accessibility & contrast

On white

4.18
#407ADB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#407ADB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ADB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ADB#FFFFFF#000000##000000
##407ADB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407adb;
/* rgb */ color: rgb(64, 122, 219);
/* oklch */ color: oklch(59.0% 0.160 260.1);
Tailwind
colors: {
  custom: {
    50: '#879fe7',
    500: '#407adb',
    950: '#000000',
  },
}
SCSS
$custom: #407adb;
$custom-light: #879fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#407adb",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 219
  },
  "hsl": {
    "h": 217.548,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.16039,
    "h": 260.1
  },
  "luminance": 0.20124
}

Semantic roles & 50–950 ramp

primary
#407ADB
secondary
#DCC49B
accent
#AA3DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #407ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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