#4262C4#4262C4
#4262C4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.157 H 267.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4262C4 |
|---|---|
| RGB | rgb(66, 98, 196) |
| HSL | hsl(225, 52%, 51%) |
| HSV | hsv(225, 66%, 77%) |
| CMYK | cmyk(66.3%, 50%, 0%, 23.1%) |
| CIE-LAB | lab(44.06, 20.48, -54.78) |
| CIE-LCH | lch(44.06, 58.48, 290.50°) |
| OKLab | oklab(52.51% -0.0076 -0.1571) |
| OKLCH | oklch(52.51% 0.157 267.2) |
| XYZ | xyz(16.5748, 13.8776, 54.0190) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.39
French Blue
#436BAD
ΔE00 4.61
Denim
#1560BD
ΔE00 4.91
Azul
#1D5DEC
ΔE00 4.95
Warm Blue
#4B57DB
ΔE00 5.58
Cornflower Blue
#5170D7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4262C4 #C4A442
analogous
#42A3C4 #4262C4 #6342C4
triadic
#4262C4 #C44262 #62C442
tetradic
#4262C4 #C442A3 #C4A442 #42C463
square
#4262C4 #C442A3 #C4A442 #42C463
split-complementary
#4262C4 #C46342 #A3C442
monochromatic
#21336A #304A99 #4262C4 #7189D3 #9FAFE1
Accessibility & contrast
On white
5.56
#4262C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#4262C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4262C4
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4262C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4262C4 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6EC8
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4262c4; /* rgb */ color: rgb(66, 98, 196); /* oklch */ color: oklch(52.5% 0.157 267.2);
Tailwind
colors: {
custom: {
50: '#848ed6',
500: '#4262c4',
950: '#000000',
},
}SCSS
$custom: #4262c4; $custom-light: #848ed6; $custom-dark: #000000;
JSON
{
"hex": "#4262c4",
"rgb": {
"r": 66,
"g": 98,
"b": 196
},
"hsl": {
"h": 225.231,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.52514,
"c": 0.1573,
"h": 267.2
},
"luminance": 0.13879
}Semantic roles & 50–950 ramp
primary
#4262C4
secondary
#CEBF94
accent
#B84CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83