#4066CB#4066CB
#4066CB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.7% C 0.163 H 265.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4066CB |
|---|---|
| RGB | rgb(64, 102, 203) |
| HSL | hsl(224, 57%, 52%) |
| HSV | hsv(224, 68%, 80%) |
| CMYK | cmyk(68.5%, 49.8%, 0%, 20.4%) |
| CIE-LAB | lab(45.50, 20.12, -56.49) |
| CIE-LCH | lch(45.50, 59.97, 289.61°) |
| OKLab | oklab(53.73% -0.0123 -0.1621) |
| OKLCH | oklch(53.73% 0.163 265.7) |
| XYZ | xyz(17.6415, 14.9028, 58.4351) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.04
French Blue
#436BAD
ΔE00 4.20
Cornflower Blue
#5170D7
ΔE00 4.25
Azul
#1D5DEC
ΔE00 4.69
Denim
#1560BD
ΔE00 5.02
Bright Blue
#0165FC
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4066CB #CBA540
analogous
#40ACCB #4066CB #5F40CB
triadic
#4066CB #CB4066 #66CB40
tetradic
#4066CB #CB40AC #CBA540 #40CB5F
square
#4066CB #CB40AC #CBA540 #40CB5F
split-complementary
#4066CB #CB5F40 #ACCB40
monochromatic
#1F3672 #2C4CA2 #4066CB #708DD8 #A0B3E5
Accessibility & contrast
On white
5.28
#4066CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#4066CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4066CB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4066CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4066CB | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4066cb; /* rgb */ color: rgb(64, 102, 203); /* oklch */ color: oklch(53.7% 0.163 265.7);
Tailwind
colors: {
custom: {
50: '#8491db',
500: '#4066cb',
950: '#000000',
},
}SCSS
$custom: #4066cb; $custom-light: #8491db; $custom-dark: #000000;
JSON
{
"hex": "#4066cb",
"rgb": {
"r": 64,
"g": 102,
"b": 203
},
"hsl": {
"h": 223.597,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.53733,
"c": 0.16258,
"h": 265.7
},
"luminance": 0.14905
}Semantic roles & 50–950 ramp
primary
#4066CB
secondary
#D2C195
accent
#B747E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83