#400FCA color
The hex color #400FCA is a vivid violet.
In the RGB color model it is made of 25.1% red, 5.9% green and 79.2% blue (64, 15, 202).
Its hue angle is 256°, with 86% saturation and 43% lightness. For print, the CMYK equivalent is 68% cyan, 93% magenta, 0% yellow and 21% black.
The closest named color is Busty Blue (#3300CC), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.82:1).
#400FCA color codes
| HEX | #400FCA | |
|---|---|---|
| RGB | rgb(64, 15, 202) | |
| RGB percent | rgb(25.1%, 5.9%, 79.2%) | |
| HSL | hsl(256, 86%, 43%) | |
| HSV / HSB | hsv(256, 93%, 79%) | |
| CMYK | cmyk(68%, 93%, 0%, 21%) | |
| CIE LAB | lab(28.63, 64.87, -83.56) | |
| CIE LCH | lch(28.63, 105.79, 307.82) | |
| CIE XYZ | xyz(12.942, 5.695, 56.283) | |
| Decimal | 4198346 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #400FCA, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #400FCA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.82:1 | Pass | Pass | Pass |
| #400FCA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.82:1 | Pass | Pass | Pass |
| Sample text | 2.14:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #400FCA looks to people with the most common types of color vision deficiency.
#004acfProtanopia
no red cones#003cc7Deuteranopia
no green cones#005477Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #400fca; }
.text { color: #400fca; }
.border { border: 2px solid #400fca; }
.transparent { background-color: rgb(64 15 202 / 50%); }
.gradient { background: linear-gradient(to right, #400fca, #9e0fca); }
Similar colors
#3300ccBusty Blue#3311bbGalactic Highway#5511ccSea Serpent’s Tears#010fccTrue Blue#1f22d2Lapis on Neptune#0203e2Pure Blue#0000cdMedium Blue#5511ddSpace Opera
Questions
- What color is #400FCA?
- #400FCA is a vivid violet, closest to the named color Busty Blue. It belongs to the purple family of colors.
- What is the RGB value of #400FCA?
- The RGB value is 64, 15, 202: 64 red, 15 green and 202 blue on a 0 to 255 scale.
- What is the complementary color of #400FCA?
- The complementary color is #99CA0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #400FCA?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.82:1. WCAG asks for at least 4.5:1 for normal text.