#4A6CDE#4A6CDE
#4A6CDE is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.178 H 267.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4A6CDE |
|---|---|
| RGB | rgb(74, 108, 222) |
| HSL | hsl(226, 69%, 58%) |
| HSV | hsv(226, 67%, 87%) |
| CMYK | cmyk(66.7%, 51.4%, 0%, 12.9%) |
| CIE-LAB | lab(48.83, 24.60, -61.94) |
| CIE-LCH | lch(48.83, 66.64, 291.66°) |
| OKLab | oklab(56.79% -0.0067 -0.1778) |
| OKLCH | oklch(56.79% 0.178 267.9) |
| XYZ | xyz(21.3669, 17.4529, 71.3358) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.26
Cornflower Blue
#5170D7
ΔE00 1.62
Bright Blue
#0165FC
ΔE00 4.36
Cerulean Blue
#056EEE
ΔE00 4.51
Azul
#1D5DEC
ΔE00 5.38
Deep Sky Blue
#0D75F8
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A6CDE #DEBC4A
analogous
#4AB6DE #4A6CDE #724ADE
triadic
#4A6CDE #DE4A6C #6CDE4A
tetradic
#4A6CDE #DE4AB6 #DEBC4A #4ADE72
square
#4A6CDE #DE4AB6 #DEBC4A #4ADE72
split-complementary
#4A6CDE #DE724A #B6DE4A
monochromatic
#1B3693 #244AC7 #4A6CDE #7E96E7 #B2C0F1
Accessibility & contrast
On white
4.68
#4A6CDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#4A6CDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A6CDE
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A6CDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A6CDE | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257BE2
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #4a6cde; /* rgb */ color: rgb(74, 108, 222); /* oklch */ color: oklch(56.8% 0.178 267.9);
Tailwind
colors: {
custom: {
50: '#8c95e9',
500: '#4a6cde',
950: '#000000',
},
}SCSS
$custom: #4a6cde; $custom-light: #8c95e9; $custom-dark: #000000;
JSON
{
"hex": "#4a6cde",
"rgb": {
"r": 74,
"g": 108,
"b": 222
},
"hsl": {
"h": 226.216,
"s": 69.159,
"l": 58.039
},
"oklch": {
"l": 0.56787,
"c": 0.17797,
"h": 267.9
},
"luminance": 0.17455
}Semantic roles & 50–950 ramp
primary
#4A6CDE
secondary
#DFD2A4
accent
#C43CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D16
muted
#7E7E84