#5262BF#5262BF
#5262BF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.146 H 273.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5262BF |
|---|---|
| RGB | rgb(82, 98, 191) |
| HSL | hsl(231, 46%, 54%) |
| HSV | hsv(231, 57%, 75%) |
| CMYK | cmyk(57.1%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(44.65, 21.68, -50.89) |
| CIE-LCH | lch(44.65, 55.32, 293.07°) |
| OKLab | oklab(53.1% 0.0079 -0.1453) |
| OKLCH | oklch(53.1% 0.146 273.1) |
| XYZ | xyz(17.2483, 14.2895, 51.1294) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.97
Iris
#6258C4
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 5.49
Cornflower Blue
#5170D7
ΔE00 5.93
French Blue
#436BAD
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262BF #BFAF52
analogous
#5298BF #5262BF #7852BF
triadic
#5262BF #BF5262 #62BF52
tetradic
#5262BF #BF5298 #BFAF52 #52BF78
square
#5262BF #BF5298 #BFAF52 #52BF78
split-complementary
#5262BF #BF7852 #98BF52
monochromatic
#29336E #39479B #5262BF #7F8BD0 #ABB3E0
Accessibility & contrast
On white
5.44
#5262BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5262BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262BF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262BF | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#0B7787
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5262bf; /* rgb */ color: rgb(82, 98, 191); /* oklch */ color: oklch(53.1% 0.146 273.1);
Tailwind
colors: {
custom: {
50: '#8b8ed3',
500: '#5262bf',
950: '#000000',
},
}SCSS
$custom: #5262bf; $custom-light: #8b8ed3; $custom-dark: #000000;
JSON
{
"hex": "#5262bf",
"rgb": {
"r": 82,
"g": 98,
"b": 191
},
"hsl": {
"h": 231.193,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.53099,
"c": 0.14553,
"h": 273.1
},
"luminance": 0.14291
}Semantic roles & 50–950 ramp
primary
#5262BF
secondary
#CEC79F
accent
#C252D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83