#4262E2#4262E2
#4262E2 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.198 H 268.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4262E2 |
|---|---|
| RGB | rgb(66, 98, 226) |
| HSL | hsl(228, 73%, 57%) |
| HSV | hsv(228, 71%, 89%) |
| CMYK | cmyk(70.8%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.15, 31.15, -68.55) |
| CIE-LCH | lch(46.15, 75.30, 294.44°) |
| OKLab | oklab(54.76% -0.0055 -0.1976) |
| OKLCH | oklch(54.76% 0.198 268.4) |
| XYZ | xyz(20.3372, 15.3825, 73.8341) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.48
Azul
#1D5DEC
ΔE00 2.67
Bright Blue
#0165FC
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 4.02
Cornflower Blue
#5170D7
ΔE00 4.85
Electric Blue
#0652FF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262E2 #E2C242
analogous
#42B2E2 #4262E2 #7242E2
triadic
#4262E2 #E24262 #62E242
tetradic
#4262E2 #E242B2 #E2C242 #42E272
square
#4262E2 #E242B2 #E2C242 #42E272
split-complementary
#4262E2 #E27242 #B2E242
monochromatic
#172F93 #1F41C8 #4262E2 #778EEA #ACBAF2
Accessibility & contrast
On white
5.15
#4262E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#4262E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262E2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262E2 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4262e2; /* rgb */ color: rgb(66, 98, 226); /* oklch */ color: oklch(54.8% 0.198 268.4);
Tailwind
colors: {
custom: {
50: '#8a8eec',
500: '#4262e2',
950: '#000000',
},
}SCSS
$custom: #4262e2; $custom-light: #8a8eec; $custom-dark: #000000;
JSON
{
"hex": "#4262e2",
"rgb": {
"r": 66,
"g": 98,
"b": 226
},
"hsl": {
"h": 228,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.54759,
"c": 0.19768,
"h": 268.4
},
"luminance": 0.15385
}Semantic roles & 50–950 ramp
primary
#4262E2
secondary
#E0D39F
accent
#CB38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84