#4262DC#4262DC
#4262DC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.190 H 268.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4262DC |
|---|---|
| RGB | rgb(66, 98, 220) |
| HSL | hsl(228, 69%, 56%) |
| HSV | hsv(228, 70%, 86%) |
| CMYK | cmyk(70%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(45.71, 29.03, -65.86) |
| CIE-LCH | lch(45.71, 71.97, 293.79°) |
| OKLab | oklab(54.29% -0.0057 -0.1897) |
| OKLCH | oklch(54.29% 0.19 268.3) |
| XYZ | xyz(19.5283, 15.0589, 69.5738) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.53
Azul
#1D5DEC
ΔE00 2.83
Warm Blue
#4B57DB
ΔE00 4.04
Bright Blue
#0165FC
ΔE00 4.24
Cornflower Blue
#5170D7
ΔE00 4.79
Dark Periwinkle
#665FD1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262DC #DCBC42
analogous
#42AFDC #4262DC #6F42DC
triadic
#4262DC #DC4262 #62DC42
tetradic
#4262DC #DC42AF #DCBC42 #42DC6F
square
#4262DC #DC42AF #DCBC42 #42DC6F
split-complementary
#4262DC #DC6F42 #AFDC42
monochromatic
#1A318A #2343BE #4262DC #768DE6 #A9B8EF
Accessibility & contrast
On white
5.23
#4262DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#4262DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262DC
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262DC | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4262dc; /* rgb */ color: rgb(66, 98, 220); /* oklch */ color: oklch(54.3% 0.190 268.3);
Tailwind
colors: {
custom: {
50: '#898ee8',
500: '#4262dc',
950: '#000000',
},
}SCSS
$custom: #4262dc; $custom-light: #898ee8; $custom-dark: #000000;
JSON
{
"hex": "#4262dc",
"rgb": {
"r": 66,
"g": 98,
"b": 220
},
"hsl": {
"h": 227.532,
"s": 68.75,
"l": 56.078
},
"oklch": {
"l": 0.54292,
"c": 0.18978,
"h": 268.3
},
"luminance": 0.15061
}Semantic roles & 50–950 ramp
primary
#4262DC
secondary
#DDCF9D
accent
#C73CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84