#5262CF#5262CF
#5262CF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.168 H 273.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5262CF |
|---|---|
| RGB | rgb(82, 98, 207) |
| HSL | hsl(232, 57%, 57%) |
| HSV | hsv(232, 60%, 81%) |
| CMYK | cmyk(60.4%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(45.68, 27.04, -58.45) |
| CIE-LCH | lch(45.68, 64.40, 294.82°) |
| OKLab | oklab(54.21% 0.0094 -0.1675) |
| OKLCH | oklch(54.21% 0.168 273.2) |
| XYZ | xyz(19.1061, 15.0327, 60.9141) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.80
Dark Periwinkle
#665FD1
ΔE00 3.90
Royal Blue
#4169E1
ΔE00 4.11
Iris
#6258C4
ΔE00 5.05
Azul
#1D5DEC
ΔE00 5.07
Cornflower Blue
#5170D7
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262CF #CFBF52
analogous
#52A1CF #5262CF #8152CF
triadic
#5262CF #CF5262 #62CF52
tetradic
#5262CF #CF52A1 #CFBF52 #52CF81
square
#5262CF #CF52A1 #CFBF52 #52CF81
split-complementary
#5262CF #CF8152 #A1CF52
monochromatic
#243082 #3142B2 #5262CF #828DDC #B2B9EA
Accessibility & contrast
On white
5.24
#5262CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5262CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262CF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262CF | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5262cf; /* rgb */ color: rgb(82, 98, 207); /* oklch */ color: oklch(54.2% 0.168 273.2);
Tailwind
colors: {
custom: {
50: '#8e8ede',
500: '#5262cf',
950: '#000000',
},
}SCSS
$custom: #5262cf; $custom-light: #8e8ede; $custom-dark: #000000;
JSON
{
"hex": "#5262cf",
"rgb": {
"r": 82,
"g": 98,
"b": 207
},
"hsl": {
"h": 232.32,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.54211,
"c": 0.16781,
"h": 273.2
},
"luminance": 0.15034
}Semantic roles & 50–950 ramp
primary
#5262CF
secondary
#D8D1A5
accent
#CC48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83