#4079E1#4079E1
#4079E1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.170 H 261.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4079E1 |
|---|---|
| RGB | rgb(64, 121, 225) |
| HSL | hsl(219, 73%, 57%) |
| HSV | hsv(219, 72%, 88%) |
| CMYK | cmyk(71.6%, 46.2%, 0%, 11.8%) |
| CIE-LAB | lab(52.06, 16.11, -58.44) |
| CIE-LCH | lch(52.06, 60.62, 285.41°) |
| OKLab | oklab(59.2% -0.0258 -0.1675) |
| OKLCH | oklch(59.2% 0.17 261.3) |
| XYZ | xyz(22.5375, 20.1986, 73.9305) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Deep Sky Blue
#0D75F8
ΔE00 2.73
Clear Blue
#247AFD
ΔE00 2.85
Lightish Blue
#3D7AFD
ΔE00 3.28
Cerulean Blue
#056EEE
ΔE00 4.12
Azure
#007FFF
ΔE00 4.15
Dodger Blue
#3E82FC
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4079E1 #E1A840
analogous
#40CAE1 #4079E1 #5840E1
triadic
#4079E1 #E14079 #79E140
tetradic
#4079E1 #E140CA #E1A840 #40E158
square
#4079E1 #E140CA #E1A840 #40E158
split-complementary
#4079E1 #E15840 #CAE140
monochromatic
#174290 #1F5AC5 #4079E1 #759EE9 #AAC3F2
Accessibility & contrast
On white
4.17
#4079E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#4079E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4079E1
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4079E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4079E1 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #4079e1; /* rgb */ color: rgb(64, 121, 225); /* oklch */ color: oklch(59.2% 0.170 261.3);
Tailwind
colors: {
custom: {
50: '#889feb',
500: '#4079e1',
950: '#000000',
},
}SCSS
$custom: #4079e1; $custom-light: #889feb; $custom-dark: #000000;
JSON
{
"hex": "#4079e1",
"rgb": {
"r": 64,
"g": 121,
"b": 225
},
"hsl": {
"h": 218.758,
"s": 72.851,
"l": 56.667
},
"oklch": {
"l": 0.59198,
"c": 0.16951,
"h": 261.3
},
"luminance": 0.20201
}Semantic roles & 50–950 ramp
primary
#4079E1
secondary
#DFC89D
accent
#AF38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84