#4A66CC#4A66CC
#4A66CC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.161 H 269.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4A66CC |
|---|---|
| RGB | rgb(74, 102, 204) |
| HSL | hsl(227, 56%, 55%) |
| HSV | hsv(227, 64%, 80%) |
| CMYK | cmyk(63.7%, 50%, 0%, 20%) |
| CIE-LAB | lab(46.06, 22.09, -56.13) |
| CIE-LCH | lch(46.06, 60.33, 291.48°) |
| OKLab | oklab(54.32% -0.0029 -0.1609) |
| OKLCH | oklch(54.32% 0.161 269) |
| XYZ | xyz(18.4708, 15.3166, 59.0980) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.90
Cornflower Blue
#5170D7
ΔE00 3.79
Azul
#1D5DEC
ΔE00 4.93
French Blue
#436BAD
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.57
Bright Blue
#0165FC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A66CC #CCB04A
analogous
#4AA7CC #4A66CC #6F4ACC
triadic
#4A66CC #CC4A66 #66CC4A
tetradic
#4A66CC #CC4AA7 #CCB04A #4ACC6F
square
#4A66CC #CC4AA7 #CCB04A #4ACC6F
split-complementary
#4A66CC #CC6F4A #A7CC4A
monochromatic
#223579 #304AA9 #4A66CC #7A8ED9 #A9B7E7
Accessibility & contrast
On white
5.17
#4A66CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#4A66CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A66CC
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A66CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A66CC | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#0668CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4a66cc; /* rgb */ color: rgb(74, 102, 204); /* oklch */ color: oklch(54.3% 0.161 269.0);
Tailwind
colors: {
custom: {
50: '#8991dc',
500: '#4a66cc',
950: '#000000',
},
}SCSS
$custom: #4a66cc; $custom-light: #8991dc; $custom-dark: #000000;
JSON
{
"hex": "#4a66cc",
"rgb": {
"r": 74,
"g": 102,
"b": 204
},
"hsl": {
"h": 227.077,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.54317,
"c": 0.16089,
"h": 269
},
"luminance": 0.15318
}Semantic roles & 50–950 ramp
primary
#4A66CC
secondary
#D4C99D
accent
#BF48DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83