#406DED#406DED

#406DED is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.6% C 0.199 H 265.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#406DED
RGBrgb(64, 109, 237)
HSLhsl(224, 83%, 59%)
HSVhsv(224, 73%, 93%)
CMYKcmyk(73%, 54%, 0%, 7.1%)
CIE-LABlab(49.66, 27.92, -69.04)
CIE-LCHlch(49.66, 74.48, 292.02°)
OKLaboklab(57.62% -0.0148 -0.1989)
OKLCHoklch(57.62% 0.199 265.7)
XYZxyz(22.8637, 18.1392, 82.4006)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DED #EDC040
analogous
#40C4ED #406DED #6A40ED
triadic
#406DED #ED406D #6DED40
tetradic
#406DED #ED40C4 #EDC040 #40ED6A
square
#406DED #ED40C4 #EDC040 #40ED6A
split-complementary
#406DED #ED6A40 #C4ED40
monochromatic
#0F36A3 #1548DB #406DED #7898F2 #B0C3F8

Accessibility & contrast

On white

4.54
#406DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#406DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #406DED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DED#FFFFFF#000000##000000
##406DED1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #406ded;
/* rgb */ color: rgb(64, 109, 237);
/* oklch */ color: oklch(57.6% 0.199 265.7);
Tailwind
colors: {
  custom: {
    50: '#8b96f4',
    500: '#406ded',
    950: '#000000',
  },
}
SCSS
$custom: #406ded;
$custom-light: #8b96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#406ded",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 224.393,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.19949,
    "h": 265.7
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#406DED
secondary
#E6D5A2
accent
#C42FF9
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #406DED

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

Preview Lab → · Contrast checker → · Palette generator →

#406DED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva