#5259CF#5259CF
#5259CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.179 H 275.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5259CF |
|---|---|
| RGB | rgb(82, 89, 207) |
| HSL | hsl(237, 57%, 57%) |
| HSV | hsv(237, 60%, 81%) |
| CMYK | cmyk(60.4%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(43.42, 32.65, -62.11) |
| CIE-LCH | lch(43.42, 70.16, 297.73°) |
| OKLab | oklab(52.52% 0.018 -0.1784) |
| OKLCH | oklch(52.52% 0.179 275.8) |
| XYZ | xyz(18.3109, 13.4422, 60.6491) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.75
Iris
#6258C4
ΔE00 3.22
Dark Periwinkle
#665FD1
ΔE00 3.59
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.64
Azul
#1D5DEC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259CF #CFC852
analogous
#5298CF #5259CF #8A52CF
triadic
#5259CF #CF5259 #59CF52
tetradic
#5259CF #CF5298 #CFC852 #52CF8A
square
#5259CF #CF5298 #CFC852 #52CF8A
split-complementary
#5259CF #CF8A52 #98CF52
monochromatic
#242982 #3139B2 #5259CF #8287DC #B2B5EA
Accessibility & contrast
On white
5.69
#5259CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5259CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259CF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259CF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5259cf; /* rgb */ color: rgb(82, 89, 207); /* oklch */ color: oklch(52.5% 0.179 275.8);
Tailwind
colors: {
custom: {
50: '#8e88de',
500: '#5259cf',
950: '#000000',
},
}SCSS
$custom: #5259cf; $custom-light: #8e88de; $custom-dark: #000000;
JSON
{
"hex": "#5259cf",
"rgb": {
"r": 82,
"g": 89,
"b": 207
},
"hsl": {
"h": 236.64,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.52523,
"c": 0.1793,
"h": 275.8
},
"luminance": 0.13444
}Semantic roles & 50–950 ramp
primary
#5259CF
secondary
#D8D5A5
accent
#D748E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83