#6258CB#6258CB
#6258CB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.172 H 282.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #6258CB |
|---|---|
| RGB | rgb(98, 88, 203) |
| HSL | hsl(245, 53%, 57%) |
| HSV | hsv(245, 57%, 80%) |
| CMYK | cmyk(51.7%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(44.07, 34.98, -58.70) |
| CIE-LCH | lch(44.07, 68.33, 300.79°) |
| OKLab | oklab(53.21% 0.0381 -0.1679) |
| OKLCH | oklch(53.21% 0.172 282.8) |
| XYZ | xyz(19.3029, 13.8868, 58.1516) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.04
Slate Blue
#6A5ACD
ΔE00 1.53
Light Indigo
#6D5ACF
ΔE00 2.10
Dark Periwinkle
#665FD1
ΔE00 2.38
Warm Blue
#4B57DB
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6258CB #C1CB58
analogous
#5888CB #6258CB #9B58CB
triadic
#6258CB #CB6258 #58CB62
tetradic
#6258CB #CB5888 #C1CB58 #58CB9B
square
#6258CB #CB5888 #C1CB58 #58CB9B
split-complementary
#6258CB #CB9B58 #88CB58
monochromatic
#302881 #4137AF #6258CB #8E87DA #BAB5E8
Accessibility & contrast
On white
5.56
#6258CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#6258CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6258CB
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6258CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6258CB | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#387289
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6258cb; /* rgb */ color: rgb(98, 88, 203); /* oklch */ color: oklch(53.2% 0.172 282.8);
Tailwind
colors: {
custom: {
50: '#9787dc',
500: '#6258cb',
950: '#000000',
},
}SCSS
$custom: #6258cb; $custom-light: #9787dc; $custom-dark: #000000;
JSON
{
"hex": "#6258cb",
"rgb": {
"r": 98,
"g": 88,
"b": 203
},
"hsl": {
"h": 245.217,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.53213,
"c": 0.17219,
"h": 282.8
},
"luminance": 0.13888
}Semantic roles & 50–950 ramp
primary
#6258CB
secondary
#D3D7A8
accent
#DC4CCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83