#6255CD#6255CD
#6255CD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.179 H 283.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6255CD |
|---|---|
| RGB | rgb(98, 85, 205) |
| HSL | hsl(247, 55%, 57%) |
| HSV | hsv(247, 59%, 80%) |
| CMYK | cmyk(52.2%, 58.5%, 0%, 19.6%) |
| CIE-LAB | lab(43.51, 37.39, -60.76) |
| CIE-LCH | lch(43.51, 71.34, 301.61°) |
| OKLab | oklab(52.84% 0.0412 -0.174) |
| OKLCH | oklch(52.84% 0.179 283.3) |
| XYZ | xyz(19.3016, 13.5004, 59.3345) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.62
Slate Blue
#6A5ACD
ΔE00 1.95
Light Indigo
#6D5ACF
ΔE00 2.35
Dark Periwinkle
#665FD1
ΔE00 3.15
Warm Blue
#4B57DB
ΔE00 3.95
Bluey Purple
#6241C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6255CD #C0CD55
analogous
#5584CD #6255CD #9E55CD
triadic
#6255CD #CD6255 #55CD62
tetradic
#6255CD #CD5584 #C0CD55 #55CD9E
square
#6255CD #CD5584 #C0CD55 #55CD9E
split-complementary
#6255CD #CD9E55 #84CD55
monochromatic
#302682 #4234B1 #6255CD #8E84DB #B9B4E9
Accessibility & contrast
On white
5.68
#6255CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#6255CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6255CD
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6255CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6255CD | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#367189
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6255cd; /* rgb */ color: rgb(98, 85, 205); /* oklch */ color: oklch(52.8% 0.179 283.3);
Tailwind
colors: {
custom: {
50: '#9785dd',
500: '#6255cd',
950: '#000000',
},
}SCSS
$custom: #6255cd; $custom-light: #9785dd; $custom-dark: #000000;
JSON
{
"hex": "#6255cd",
"rgb": {
"r": 98,
"g": 85,
"b": 205
},
"hsl": {
"h": 246.5,
"s": 54.545,
"l": 56.863
},
"oklch": {
"l": 0.52842,
"c": 0.17884,
"h": 283.3
},
"luminance": 0.13501
}Semantic roles & 50–950 ramp
primary
#6255CD
secondary
#D2D7A6
accent
#DE4ACE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83