#407CDA#407CDA

#407CDA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.157 H 259.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#407CDA
RGBrgb(64, 124, 218)
HSLhsl(217, 68%, 55%)
HSVhsv(217, 71%, 85%)
CMYKcmyk(70.6%, 43.1%, 0%, 14.5%)
CIE-LABlab(52.47, 11.74, -53.84)
CIE-LCHlch(52.47, 55.11, 282.30°)
OKLaboklab(59.38% -0.0296 -0.154)
OKLCHoklch(59.38% 0.157 259.1)
XYZxyz(21.9723, 20.5649, 69.1275)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CDA #DA9E40
analogous
#40C9DA #407CDA #5140DA
triadic
#407CDA #DA407C #7CDA40
tetradic
#407CDA #DA40C9 #DA9E40 #40DA51
square
#407CDA #DA40C9 #DA9E40 #40DA51
split-complementary
#407CDA #DA5140 #C9DA40
monochromatic
#1A4486 #245EB9 #407CDA #739FE4 #A7C2EE

Accessibility & contrast

On white

4.11
#407CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#407CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CDA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CDA#FFFFFF#000000##000000
##407CDA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3277D8
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407cda;
/* rgb */ color: rgb(64, 124, 218);
/* oklch */ color: oklch(59.4% 0.157 259.1);
Tailwind
colors: {
  custom: {
    50: '#87a1e6',
    500: '#407cda',
    950: '#000000',
  },
}
SCSS
$custom: #407cda;
$custom-light: #87a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#407cda",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 216.623,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.15679,
    "h": 259.1
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#407CDA
secondary
#DBC29B
accent
#A73DEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #407CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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