#5262BB#5262BB
#5262BB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.140 H 273.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5262BB |
|---|---|
| RGB | rgb(82, 98, 187) |
| HSL | hsl(231, 44%, 53%) |
| HSV | hsv(231, 56%, 73%) |
| CMYK | cmyk(56.1%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(44.40, 20.34, -48.97) |
| CIE-LCH | lch(44.40, 53.02, 292.56°) |
| OKLab | oklab(52.83% 0.0074 -0.1396) |
| OKLCH | oklch(52.83% 0.14 273) |
| XYZ | xyz(16.8141, 14.1158, 48.8427) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.36
Iris
#6258C4
ΔE00 5.41
Warm Blue
#4B57DB
ΔE00 5.67
French Blue
#436BAD
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 5.92
Dusky Blue
#475F94
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262BB #BBAB52
analogous
#5296BB #5262BB #7652BB
triadic
#5262BB #BB5262 #62BB52
tetradic
#5262BB #BB5296 #BBAB52 #52BB76
square
#5262BB #BB5296 #BBAB52 #52BB76
split-complementary
#5262BB #BB7652 #96BB52
monochromatic
#293369 #3B4895 #5262BB #7E8ACC #AAB2DE
Accessibility & contrast
On white
5.49
#5262BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5262BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262BB
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262BB | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#157685
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5262bb; /* rgb */ color: rgb(82, 98, 187); /* oklch */ color: oklch(52.8% 0.140 273.0);
Tailwind
colors: {
custom: {
50: '#8b8ed0',
500: '#5262bb',
950: '#000000',
},
}SCSS
$custom: #5262bb; $custom-light: #8b8ed0; $custom-dark: #000000;
JSON
{
"hex": "#5262bb",
"rgb": {
"r": 82,
"g": 98,
"b": 187
},
"hsl": {
"h": 230.857,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.52833,
"c": 0.13985,
"h": 273
},
"luminance": 0.14117
}Semantic roles & 50–950 ramp
primary
#5262BB
secondary
#CBC49E
accent
#C054D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82