#4060BF#4060BF
#4060BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.153 H 266.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4060BF |
|---|---|
| RGB | rgb(64, 96, 191) |
| HSL | hsl(225, 50%, 50%) |
| HSV | hsv(225, 66%, 75%) |
| CMYK | cmyk(66.5%, 49.7%, 0%, 25.1%) |
| CIE-LAB | lab(43.09, 19.64, -53.45) |
| CIE-LCH | lch(43.09, 56.95, 290.18°) |
| OKLab | oklab(51.64% -0.0082 -0.1533) |
| OKLCH | oklch(51.64% 0.153 266.9) |
| XYZ | xyz(15.6979, 13.2158, 51.0037) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.57
French Blue
#436BAD
ΔE00 4.72
Royal Blue
#4169E1
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.40
Sapphire
#0F52BA
ΔE00 5.51
Warm Blue
#4B57DB
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4060BF #BF9F40
analogous
#409FBF #4060BF #6040BF
triadic
#4060BF #BF4060 #60BF40
tetradic
#4060BF #BF409F #BF9F40 #40BF60
square
#4060BF #BF409F #BF9F40 #40BF60
split-complementary
#4060BF #BF6040 #9FBF40
monochromatic
#213263 #314991 #4060BF #6E86CE #9CACDE
Accessibility & contrast
On white
5.76
#4060BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#4060BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4060BF
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4060BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4060BF | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6CC2
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4060bf; /* rgb */ color: rgb(64, 96, 191); /* oklch */ color: oklch(51.6% 0.153 266.9);
Tailwind
colors: {
custom: {
50: '#828cd3',
500: '#4060bf',
950: '#000000',
},
}SCSS
$custom: #4060bf; $custom-light: #828cd3; $custom-dark: #000000;
JSON
{
"hex": "#4060bf",
"rgb": {
"r": 64,
"g": 96,
"b": 191
},
"hsl": {
"h": 224.882,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.51644,
"c": 0.15348,
"h": 266.9
},
"luminance": 0.13217
}Semantic roles & 50–950 ramp
primary
#4060BF
secondary
#CABC91
accent
#B64ED9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83