#6255BF#6255BF
#6255BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.160 H 284.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6255BF |
|---|---|
| RGB | rgb(98, 85, 191) |
| HSL | hsl(247, 45%, 54%) |
| HSV | hsv(247, 55%, 75%) |
| CMYK | cmyk(48.7%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.54, 33.12, -54.21) |
| CIE-LCH | lch(42.54, 63.53, 301.42°) |
| OKLab | oklab(51.82% 0.0412 -0.1547) |
| OKLCH | oklch(51.82% 0.16 284.9) |
| XYZ | xyz(17.6867, 12.8544, 50.8293) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.20
Slate Blue
#6A5ACD
ΔE00 2.82
Light Indigo
#6D5ACF
ΔE00 3.30
Dark Periwinkle
#665FD1
ΔE00 4.10
Warm Blue
#4B57DB
ΔE00 5.32
Bluey Purple
#6241C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6255BF #B2BF55
analogous
#557DBF #6255BF #9755BF
triadic
#6255BF #BF6255 #55BF62
tetradic
#6255BF #BF557D #B2BF55 #55BF97
square
#6255BF #BF557D #B2BF55 #55BF97
split-complementary
#6255BF #BF9755 #7DBF55
monochromatic
#332A70 #473B9C #6255BF #8B81D0 #B4AEE0
Accessibility & contrast
On white
5.88
#6255BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6255BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6255BF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6255BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6255BF | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#416D82
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6255bf; /* rgb */ color: rgb(98, 85, 191); /* oklch */ color: oklch(51.8% 0.160 284.9);
Tailwind
colors: {
custom: {
50: '#9585d3',
500: '#6255bf',
950: '#000000',
},
}SCSS
$custom: #6255bf; $custom-light: #9585d3; $custom-dark: #000000;
JSON
{
"hex": "#6255bf",
"rgb": {
"r": 98,
"g": 85,
"b": 191
},
"hsl": {
"h": 247.358,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.51822,
"c": 0.16015,
"h": 284.9
},
"luminance": 0.12855
}Semantic roles & 50–950 ramp
primary
#6255BF
secondary
#C9CEA1
accent
#D553C5
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83