#5253BF#5253BF
#5253BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.165 H 278.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5253BF |
|---|---|
| RGB | rgb(82, 83, 191) |
| HSL | hsl(239, 46%, 54%) |
| HSV | hsv(239, 57%, 75%) |
| CMYK | cmyk(57.1%, 56.5%, 0%, 25.1%) |
| CIE-LAB | lab(40.80, 31.09, -57.09) |
| CIE-LCH | lch(40.80, 65.01, 298.58°) |
| OKLab | oklab(50.21% 0.0237 -0.1637) |
| OKLCH | oklch(50.21% 0.165 278.2) |
| XYZ | xyz(15.9739, 11.7408, 50.7046) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.05
Warm Blue
#4B57DB
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5253BF #BFBE52
analogous
#5289BF #5253BF #8752BF
triadic
#5253BF #BF5253 #53BF52
tetradic
#5253BF #BF5289 #BFBE52 #52BF87
square
#5253BF #BF5289 #BFBE52 #52BF87
split-complementary
#5253BF #BF8752 #89BF52
monochromatic
#29296E #393A9B #5253BF #7F7FD0 #ABACE0
Accessibility & contrast
On white
6.27
#5253BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5253BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5253BF
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5253BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5253BF | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#126C81
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5253bf; /* rgb */ color: rgb(82, 83, 191); /* oklch */ color: oklch(50.2% 0.165 278.2);
Tailwind
colors: {
custom: {
50: '#8c83d3',
500: '#5253bf',
950: '#000000',
},
}SCSS
$custom: #5253bf; $custom-light: #8c83d3; $custom-dark: #000000;
JSON
{
"hex": "#5253bf",
"rgb": {
"r": 82,
"g": 83,
"b": 191
},
"hsl": {
"h": 239.45,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50213,
"c": 0.16538,
"h": 278.2
},
"luminance": 0.11742
}Semantic roles & 50–950 ramp
primary
#5253BF
secondary
#CECD9F
accent
#D452D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83