#5262BA#5262BA
#5262BA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.138 H 273.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5262BA |
|---|---|
| RGB | rgb(82, 98, 186) |
| HSL | hsl(231, 43%, 53%) |
| HSV | hsv(231, 56%, 73%) |
| CMYK | cmyk(55.9%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(44.34, 20.01, -48.48) |
| CIE-LCH | lch(44.34, 52.45, 292.43°) |
| OKLab | oklab(52.77% 0.0073 -0.1382) |
| OKLCH | oklch(52.77% 0.138 273) |
| XYZ | xyz(16.7074, 14.0732, 48.2808) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 5.47
French Blue
#436BAD
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 5.79
Dusky Blue
#475F94
ΔE00 5.89
Royal Blue
#4169E1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262BA #BAAA52
analogous
#5296BA #5262BA #7652BA
triadic
#5262BA #BA5262 #62BA52
tetradic
#5262BA #BA5296 #BAAA52 #52BA76
square
#5262BA #BA5296 #BAAA52 #52BA76
split-complementary
#5262BA #BA7652 #96BA52
monochromatic
#2A3368 #3B4994 #5262BA #7E8ACB #AAB1DD
Accessibility & contrast
On white
5.50
#5262BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#5262BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262BA
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262BA | 1.00 | 5.50 | 3.81 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396DBD
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#177685
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5262ba; /* rgb */ color: rgb(82, 98, 186); /* oklch */ color: oklch(52.8% 0.138 273.0);
Tailwind
colors: {
custom: {
50: '#8b8ecf',
500: '#5262ba',
950: '#000000',
},
}SCSS
$custom: #5262ba; $custom-light: #8b8ecf; $custom-dark: #000000;
JSON
{
"hex": "#5262ba",
"rgb": {
"r": 82,
"g": 98,
"b": 186
},
"hsl": {
"h": 230.769,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.52767,
"c": 0.13841,
"h": 273
},
"luminance": 0.14074
}Semantic roles & 50–950 ramp
primary
#5262BA
secondary
#CAC49D
accent
#BF55D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82