#4262EF#4262EF
#4262EF is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 55.8% C 0.214 H 268.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4262EF |
|---|---|
| RGB | rgb(66, 98, 239) |
| HSL | hsl(229, 84%, 60%) |
| HSV | hsv(229, 72%, 94%) |
| CMYK | cmyk(72.4%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(47.14, 35.73, -74.27) |
| CIE-LCH | lch(47.14, 82.42, 295.69°) |
| OKLab | oklab(55.8% -0.0052 -0.2144) |
| OKLCH | oklch(55.8% 0.214 268.6) |
| XYZ | xyz(22.1891, 16.1233, 83.5873) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.08
Azul
#1D5DEC
ΔE00 3.10
Bright Blue
#0165FC
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.51
Electric Blue
#0652FF
ΔE00 5.03
Cornflower Blue
#5170D7
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262EF #EFCF42
analogous
#42B8EF #4262EF #7942EF
triadic
#4262EF #EF4262 #62EF42
tetradic
#4262EF #EF42B8 #EFCF42 #42EF79
square
#4262EF #EF42B8 #EFCF42 #42EF79
split-complementary
#4262EF #EF7942 #B8EF42
monochromatic
#0E2BA8 #1339E1 #4262EF #7A91F4 #B3C0F9
Accessibility & contrast
On white
4.97
#4262EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4262EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262EF
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262EF | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4262ef; /* rgb */ color: rgb(66, 98, 239); /* oklch */ color: oklch(55.8% 0.214 268.6);
Tailwind
colors: {
custom: {
50: '#8d8ef5',
500: '#4262ef',
950: '#000000',
},
}SCSS
$custom: #4262ef; $custom-light: #8d8ef5; $custom-dark: #000000;
JSON
{
"hex": "#4262ef",
"rgb": {
"r": 66,
"g": 98,
"b": 239
},
"hsl": {
"h": 228.902,
"s": 84.39,
"l": 59.804
},
"oklch": {
"l": 0.55799,
"c": 0.21448,
"h": 268.6
},
"luminance": 0.16126
}Semantic roles & 50–950 ramp
primary
#4262EF
secondary
#E8DBA5
accent
#D52DFB
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C17
muted
#7E7D85