#064CFD#064CFD
#064CFD is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.266 H 263.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #064CFD |
|---|---|
| RGB | rgb(6, 76, 253) |
| HSL | hsl(223, 98%, 51%) |
| HSV | hsv(223, 98%, 99%) |
| CMYK | cmyk(97.6%, 70%, 0%, 0.8%) |
| CIE-LAB | lab(41.68, 50.64, -91.12) |
| CIE-LCH | lch(41.68, 104.25, 299.06°) |
| OKLab | oklab(51.72% -0.03 -0.2645) |
| OKLCH | oklch(51.72% 0.266 263.5) |
| XYZ | xyz(20.3829, 12.2967, 94.2086) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Electric Blue
#0652FF
ΔE00 1.72
Blue (survey)
#0343DF
ΔE00 4.71
Vibrant Blue
#0339F8
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 5.02
Azul
#1D5DEC
ΔE00 5.29
Vivid Blue
#152EFF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#064CFD #FDB706
analogous
#06C7FD #064CFD #3B06FD
triadic
#064CFD #FD064C #4CFD06
tetradic
#064CFD #FD06C7 #FDB706 #06FD3B
square
#064CFD #FD06C7 #FDB706 #06FD3B
split-complementary
#064CFD #FD3B06 #C7FD06
monochromatic
#012788 #0239C4 #064CFD #4378FD #7FA3FE
Accessibility & contrast
On white
6.07
#064CFD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#064CFD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #064CFD
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##064CFD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##064CFD | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EFF
Deuteranopia (green-blind)
#0057FA
Tritanopia (blue-blind)
#007F9F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #064cfd; /* rgb */ color: rgb(6, 76, 253); /* oklch */ color: oklch(51.7% 0.266 263.5);
Tailwind
colors: {
custom: {
50: '#857eff',
500: '#064cfd',
950: '#000000',
},
}SCSS
$custom: #064cfd; $custom-light: #857eff; $custom-dark: #000000;
JSON
{
"hex": "#064cfd",
"rgb": {
"r": 6,
"g": 76,
"b": 253
},
"hsl": {
"h": 222.996,
"s": 98.406,
"l": 50.784
},
"oklch": {
"l": 0.51719,
"c": 0.26619,
"h": 263.5
},
"luminance": 0.12299
}Semantic roles & 50–950 ramp
primary
#064CFD
secondary
#E6C779
accent
#C229FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86