#4261E1#4261E1
#4261E1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.198 H 268.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4261E1 |
|---|---|
| RGB | rgb(66, 97, 225) |
| HSL | hsl(228, 73%, 57%) |
| HSV | hsv(228, 71%, 88%) |
| CMYK | cmyk(70.7%, 56.9%, 0%, 11.8%) |
| CIE-LAB | lab(45.83, 31.43, -68.51) |
| CIE-LCH | lch(45.83, 75.38, 294.64°) |
| OKLab | oklab(54.49% -0.0048 -0.1975) |
| OKLCH | oklch(54.49% 0.198 268.6) |
| XYZ | xyz(20.1074, 15.1418, 73.0825) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.58
Royal Blue
#4169E1
ΔE00 2.81
Warm Blue
#4B57DB
ΔE00 3.68
Bright Blue
#0165FC
ΔE00 4.05
Cornflower Blue
#5170D7
ΔE00 5.15
Electric Blue
#0652FF
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4261E1 #E1C242
analogous
#42B1E1 #4261E1 #7342E1
triadic
#4261E1 #E14261 #61E142
tetradic
#4261E1 #E142B1 #E1C242 #42E173
square
#4261E1 #E142B1 #E1C242 #42E173
split-complementary
#4261E1 #E17342 #B1E142
monochromatic
#172F92 #1F40C6 #4261E1 #778DE9 #ACB9F2
Accessibility & contrast
On white
5.21
#4261E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4261E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4261E1
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4261E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4261E1 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4261e1; /* rgb */ color: rgb(66, 97, 225); /* oklch */ color: oklch(54.5% 0.198 268.6);
Tailwind
colors: {
custom: {
50: '#8a8deb',
500: '#4261e1',
950: '#000000',
},
}SCSS
$custom: #4261e1; $custom-light: #8a8deb; $custom-dark: #000000;
JSON
{
"hex": "#4261e1",
"rgb": {
"r": 66,
"g": 97,
"b": 225
},
"hsl": {
"h": 228.302,
"s": 72.603,
"l": 57.059
},
"oklch": {
"l": 0.54492,
"c": 0.19757,
"h": 268.6
},
"luminance": 0.15144
}Semantic roles & 50–950 ramp
primary
#4261E1
secondary
#E0D39F
accent
#CC38EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84