#4281E2#4281E2
#4281E2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.161 H 258.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4281E2 |
|---|---|
| RGB | rgb(66, 129, 226) |
| HSL | hsl(216, 73%, 57%) |
| HSV | hsv(216, 71%, 89%) |
| CMYK | cmyk(70.8%, 42.9%, 0%, 11.4%) |
| CIE-LAB | lab(54.39, 11.82, -55.26) |
| CIE-LCH | lch(54.39, 56.51, 282.07°) |
| OKLab | oklab(61.04% -0.0311 -0.158) |
| OKLCH | oklch(61.04% 0.161 258.9) |
| XYZ | xyz(23.8195, 22.3472, 74.9949) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.84
Azure
#007FFF
ΔE00 2.84
Clear Blue
#247AFD
ΔE00 3.32
Lightish Blue
#3D7AFD
ΔE00 4.05
Deep Sky Blue
#0D75F8
ΔE00 4.38
Dark Sky Blue
#448EE4
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4281E2 #E2A342
analogous
#42D1E2 #4281E2 #5342E2
triadic
#4281E2 #E24281 #81E242
tetradic
#4281E2 #E242D1 #E2A342 #42E253
square
#4281E2 #E242D1 #E2A342 #42E253
split-complementary
#4281E2 #E25342 #D1E242
monochromatic
#174893 #1F61C8 #4281E2 #77A4EA #ACC8F2
Accessibility & contrast
On white
3.84
#4281E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#4281E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4281E2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4281E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4281E2 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4281e2; /* rgb */ color: rgb(66, 129, 226); /* oklch */ color: oklch(61.0% 0.161 258.9);
Tailwind
colors: {
custom: {
50: '#89a5ec',
500: '#4281e2',
950: '#000000',
},
}SCSS
$custom: #4281e2; $custom-light: #89a5ec; $custom-dark: #000000;
JSON
{
"hex": "#4281e2",
"rgb": {
"r": 66,
"g": 129,
"b": 226
},
"hsl": {
"h": 216.375,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.61035,
"c": 0.16106,
"h": 258.9
},
"luminance": 0.2235
}Semantic roles & 50–950 ramp
primary
#4281E2
secondary
#E0C79F
accent
#A738F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84