#5262C3#5262C3
#5262C3 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.151 H 273.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5262C3 |
|---|---|
| RGB | rgb(82, 98, 195) |
| HSL | hsl(232, 48%, 54%) |
| HSV | hsv(232, 58%, 76%) |
| CMYK | cmyk(57.9%, 49.7%, 0%, 23.5%) |
| CIE-LAB | lab(44.90, 23.01, -52.80) |
| CIE-LCH | lch(44.90, 57.60, 293.55°) |
| OKLab | oklab(53.37% 0.0084 -0.1509) |
| OKLCH | oklch(53.37% 0.151 273.2) |
| XYZ | xyz(17.6945, 14.4680, 53.4793) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.62
Warm Blue
#4B57DB
ΔE00 4.79
Iris
#6258C4
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.08
Cornflower Blue
#5170D7
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262C3 #C3B352
analogous
#529BC3 #5262C3 #7A52C3
triadic
#5262C3 #C35262 #62C352
tetradic
#5262C3 #C3529B #C3B352 #52C37A
square
#5262C3 #C3529B #C3B352 #52C37A
split-complementary
#5262C3 #C37A52 #9BC352
monochromatic
#283273 #3846A0 #5262C3 #7F8BD3 #ADB4E3
Accessibility & contrast
On white
5.39
#5262C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5262C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262C3
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262C3 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5262c3; /* rgb */ color: rgb(82, 98, 195); /* oklch */ color: oklch(53.4% 0.151 273.2);
Tailwind
colors: {
custom: {
50: '#8c8ed6',
500: '#5262c3',
950: '#000000',
},
}SCSS
$custom: #5262c3; $custom-light: #8c8ed6; $custom-dark: #000000;
JSON
{
"hex": "#5262c3",
"rgb": {
"r": 82,
"g": 98,
"b": 195
},
"hsl": {
"h": 231.504,
"s": 48.498,
"l": 54.314
},
"oklch": {
"l": 0.53371,
"c": 0.15117,
"h": 273.2
},
"luminance": 0.14469
}Semantic roles & 50–950 ramp
primary
#5262C3
secondary
#D0CAA0
accent
#C550D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83