#4A7BEF#4A7BEF
#4A7BEF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.0% C 0.183 H 264.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7BEF |
|---|---|
| RGB | rgb(74, 123, 239) |
| HSL | hsl(222, 84%, 61%) |
| HSV | hsv(222, 69%, 94%) |
| CMYK | cmyk(69%, 48.5%, 0%, 6.3%) |
| CIE-LAB | lab(53.87, 21.24, -63.34) |
| CIE-LCH | lch(53.87, 66.81, 288.54°) |
| OKLab | oklab(60.97% -0.0178 -0.1818) |
| OKLCH | oklch(60.97% 0.183 264.4) |
| XYZ | xyz(25.4815, 21.8512, 84.5194) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.53
Clear Blue
#247AFD
ΔE00 2.65
Dodger Blue
#3E82FC
ΔE00 3.08
Deep Sky Blue
#0D75F8
ΔE00 3.65
Azure
#007FFF
ΔE00 4.39
Soft Blue
#6488EA
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7BEF #EFBE4A
analogous
#4ACDEF #4A7BEF #6C4AEF
triadic
#4A7BEF #EF4A7B #7BEF4A
tetradic
#4A7BEF #EF4ACD #EFBE4A #4AEF6C
square
#4A7BEF #EF4ACD #EFBE4A #4AEF6C
split-complementary
#4A7BEF #EF6C4A #CDEF4A
monochromatic
#0F3FAF #1453E7 #4A7BEF #82A4F4 #BACDF9
Accessibility & contrast
On white
3.91
#4A7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#4A7BEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7BEF
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7BEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7BEF | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4a7bef; /* rgb */ color: rgb(74, 123, 239); /* oklch */ color: oklch(61.0% 0.183 264.4);
Tailwind
colors: {
custom: {
50: '#8fa0f5',
500: '#4a7bef',
950: '#000000',
},
}SCSS
$custom: #4a7bef; $custom-light: #8fa0f5; $custom-dark: #000000;
JSON
{
"hex": "#4a7bef",
"rgb": {
"r": 74,
"g": 123,
"b": 239
},
"hsl": {
"h": 222.182,
"s": 83.756,
"l": 61.373
},
"oklch": {
"l": 0.60971,
"c": 0.18264,
"h": 264.4
},
"luminance": 0.21854
}Semantic roles & 50–950 ramp
primary
#4A7BEF
secondary
#E9D7AC
accent
#9F05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85