#4282E2#4282E2
#4282E2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.160 H 258.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4282E2 |
|---|---|
| RGB | rgb(66, 130, 226) |
| HSL | hsl(216, 73%, 57%) |
| HSV | hsv(216, 71%, 89%) |
| CMYK | cmyk(70.8%, 42.5%, 0%, 11.4%) |
| CIE-LAB | lab(54.67, 11.20, -54.81) |
| CIE-LCH | lch(54.67, 55.95, 281.55°) |
| OKLab | oklab(61.25% -0.032 -0.1567) |
| OKLCH | oklch(61.25% 0.16 258.5) |
| XYZ | xyz(23.9519, 22.6119, 75.0390) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azure
#007FFF
ΔE00 2.83
Dodger Blue
#3E82FC
ΔE00 2.85
Clear Blue
#247AFD
ΔE00 3.55
Dark Sky Blue
#448EE4
ΔE00 4.26
Lightish Blue
#3D7AFD
ΔE00 4.29
Deep Sky Blue
#0D75F8
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4282E2 #E2A242
analogous
#42D2E2 #4282E2 #5242E2
triadic
#4282E2 #E24282 #82E242
tetradic
#4282E2 #E242D2 #E2A242 #42E252
square
#4282E2 #E242D2 #E2A242 #42E252
split-complementary
#4282E2 #E25242 #D2E242
monochromatic
#174893 #1F62C8 #4282E2 #77A5EA #ACC8F2
Accessibility & contrast
On white
3.80
#4282E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#4282E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4282E2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4282E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4282E2 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4282e2; /* rgb */ color: rgb(66, 130, 226); /* oklch */ color: oklch(61.2% 0.160 258.5);
Tailwind
colors: {
custom: {
50: '#89a5ec',
500: '#4282e2',
950: '#000000',
},
}SCSS
$custom: #4282e2; $custom-light: #89a5ec; $custom-dark: #000000;
JSON
{
"hex": "#4282e2",
"rgb": {
"r": 66,
"g": 130,
"b": 226
},
"hsl": {
"h": 216,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.61249,
"c": 0.15994,
"h": 258.5
},
"luminance": 0.22615
}Semantic roles & 50–950 ramp
primary
#4282E2
secondary
#E0C69F
accent
#A638F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84