#6255BE#6255BE
#6255BE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.159 H 285.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6255BE |
|---|---|
| RGB | rgb(98, 85, 190) |
| HSL | hsl(247, 45%, 54%) |
| HSV | hsv(247, 55%, 75%) |
| CMYK | cmyk(48.4%, 55.3%, 0%, 25.5%) |
| CIE-LAB | lab(42.48, 32.81, -53.74) |
| CIE-LCH | lch(42.48, 62.96, 301.41°) |
| OKLab | oklab(51.75% 0.0412 -0.1534) |
| OKLCH | oklch(51.75% 0.159 285) |
| XYZ | xyz(17.5770, 12.8105, 50.2517) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.30
Slate Blue
#6A5ACD
ΔE00 2.93
Light Indigo
#6D5ACF
ΔE00 3.40
Dark Periwinkle
#665FD1
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 5.44
Bluey Purple
#6241C7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6255BE #B1BE55
analogous
#557DBE #6255BE #9755BE
triadic
#6255BE #BE6255 #55BE62
tetradic
#6255BE #BE557D #B1BE55 #55BE97
square
#6255BE #BE557D #B1BE55 #55BE97
split-complementary
#6255BE #BE9755 #7DBE55
monochromatic
#332A6E #473B9B #6255BE #8B81CF #B4AEE0
Accessibility & contrast
On white
5.90
#6255BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#6255BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6255BE
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6255BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6255BE | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#426C81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6255be; /* rgb */ color: rgb(98, 85, 190); /* oklch */ color: oklch(51.8% 0.159 285.0);
Tailwind
colors: {
custom: {
50: '#9585d2',
500: '#6255be',
950: '#000000',
},
}SCSS
$custom: #6255be; $custom-light: #9585d2; $custom-dark: #000000;
JSON
{
"hex": "#6255be",
"rgb": {
"r": 98,
"g": 85,
"b": 190
},
"hsl": {
"h": 247.429,
"s": 44.681,
"l": 53.922
},
"oklch": {
"l": 0.51751,
"c": 0.1588,
"h": 285
},
"luminance": 0.12811
}Semantic roles & 50–950 ramp
primary
#6255BE
secondary
#C8CEA1
accent
#D453C4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83