#4262D4#4262D4
#4262D4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.179 H 268.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4262D4 |
|---|---|
| RGB | rgb(66, 98, 212) |
| HSL | hsl(227, 63%, 55%) |
| HSV | hsv(227, 69%, 83%) |
| CMYK | cmyk(68.9%, 53.8%, 0%, 16.9%) |
| CIE-LAB | lab(45.14, 26.18, -62.22) |
| CIE-LCH | lch(45.14, 67.51, 292.82°) |
| OKLab | oklab(53.68% -0.0062 -0.179) |
| OKLCH | oklch(53.68% 0.179 268) |
| XYZ | xyz(18.4940, 14.6452, 64.1268) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.92
Azul
#1D5DEC
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.33
Cornflower Blue
#5170D7
ΔE00 4.88
Bright Blue
#0165FC
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262D4 #D4B442
analogous
#42ABD4 #4262D4 #6B42D4
triadic
#4262D4 #D44262 #62D442
tetradic
#4262D4 #D442AB #D4B442 #42D46B
square
#4262D4 #D442AB #D4B442 #42D46B
split-complementary
#4262D4 #D46B42 #ABD442
monochromatic
#1D327F #2846B1 #4262D4 #748BDF #A6B5EB
Accessibility & contrast
On white
5.34
#4262D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#4262D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262D4
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262D4 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0772D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4262d4; /* rgb */ color: rgb(66, 98, 212); /* oklch */ color: oklch(53.7% 0.179 268.0);
Tailwind
colors: {
custom: {
50: '#878ee2',
500: '#4262d4',
950: '#000000',
},
}SCSS
$custom: #4262d4; $custom-light: #878ee2; $custom-dark: #000000;
JSON
{
"hex": "#4262d4",
"rgb": {
"r": 66,
"g": 98,
"b": 212
},
"hsl": {
"h": 226.849,
"s": 62.931,
"l": 54.51
},
"oklch": {
"l": 0.53683,
"c": 0.17911,
"h": 268
},
"luminance": 0.14647
}Semantic roles & 50–950 ramp
primary
#4262D4
secondary
#D8CA9A
accent
#C242E6
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83