#4A6CED#4A6CED
#4A6CED is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.9% C 0.198 H 268.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4A6CED |
|---|---|
| RGB | rgb(74, 108, 237) |
| HSL | hsl(227, 82%, 61%) |
| HSV | hsv(227, 69%, 93%) |
| CMYK | cmyk(68.8%, 54.4%, 0%, 7.1%) |
| CIE-LAB | lab(49.85, 29.84, -68.72) |
| CIE-LCH | lch(49.85, 74.92, 293.47°) |
| OKLab | oklab(57.88% -0.0056 -0.1978) |
| OKLCH | oklch(57.88% 0.198 268.4) |
| XYZ | xyz(23.4674, 18.2931, 82.3985) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.32
Cornflower Blue
#5170D7
ΔE00 2.93
Bright Blue
#0165FC
ΔE00 3.88
Cerulean Blue
#056EEE
ΔE00 4.87
Lightish Blue
#3D7AFD
ΔE00 5.51
Azul
#1D5DEC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A6CED #EDCB4A
analogous
#4ABDED #4A6CED #794AED
triadic
#4A6CED #ED4A6C #6CED4A
tetradic
#4A6CED #ED4ABD #EDCB4A #4AED79
square
#4A6CED #ED4ABD #EDCB4A #4AED79
split-complementary
#4A6CED #ED794A #BDED4A
monochromatic
#1131AC #1741E3 #4A6CED #8299F3 #B9C6F8
Accessibility & contrast
On white
4.51
#4A6CED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#4A6CED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A6CED
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A6CED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A6CED | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#006FEA
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4a6ced; /* rgb */ color: rgb(74, 108, 237); /* oklch */ color: oklch(57.9% 0.198 268.4);
Tailwind
colors: {
custom: {
50: '#8f95f4',
500: '#4a6ced',
950: '#000000',
},
}SCSS
$custom: #4a6ced; $custom-light: #8f95f4; $custom-dark: #000000;
JSON
{
"hex": "#4a6ced",
"rgb": {
"r": 74,
"g": 108,
"b": 237
},
"hsl": {
"h": 227.485,
"s": 81.91,
"l": 60.98
},
"oklch": {
"l": 0.57884,
"c": 0.1979,
"h": 268.4
},
"luminance": 0.18295
}Semantic roles & 50–950 ramp
primary
#4A6CED
secondary
#E8DBAB
accent
#B107DE
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0E0D17
muted
#7E7E85