#6257BD#6257BD
#6257BD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.155 H 284.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6257BD |
|---|---|
| RGB | rgb(98, 87, 189) |
| HSL | hsl(246, 44%, 54%) |
| HSV | hsv(246, 54%, 74%) |
| CMYK | cmyk(48.1%, 54%, 0%, 25.9%) |
| CIE-LAB | lab(42.89, 31.29, -52.48) |
| CIE-LCH | lch(42.89, 61.10, 300.80°) |
| OKLab | oklab(52.04% 0.0389 -0.1497) |
| OKLCH | oklch(52.04% 0.155 284.6) |
| XYZ | xyz(17.6278, 13.0863, 49.7313) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.12
Slate Blue
#6A5ACD
ΔE00 2.85
Light Indigo
#6D5ACF
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 3.89
Warm Blue
#4B57DB
ΔE00 5.46
Bluey Purple
#6241C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257BD #B2BD57
analogous
#577FBD #6257BD #9557BD
triadic
#6257BD #BD6257 #57BD62
tetradic
#6257BD #BD577F #B2BD57 #57BD95
square
#6257BD #BD577F #B2BD57 #57BD95
split-complementary
#6257BD #BD9557 #7FBD57
monochromatic
#332B6E #473D9A #6257BD #8B83CE #B4AFE0
Accessibility & contrast
On white
5.81
#6257BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6257BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257BD
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257BD | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#1B62BB
Tritanopia (blue-blind)
#426D81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6257bd; /* rgb */ color: rgb(98, 87, 189); /* oklch */ color: oklch(52.0% 0.155 284.6);
Tailwind
colors: {
custom: {
50: '#9586d1',
500: '#6257bd',
950: '#000000',
},
}SCSS
$custom: #6257bd; $custom-light: #9586d1; $custom-dark: #000000;
JSON
{
"hex": "#6257bd",
"rgb": {
"r": 98,
"g": 87,
"b": 189
},
"hsl": {
"h": 246.471,
"s": 43.59,
"l": 54.118
},
"oklch": {
"l": 0.5204,
"c": 0.15462,
"h": 284.6
},
"luminance": 0.13087
}Semantic roles & 50–950 ramp
primary
#6257BD
secondary
#C9CEA2
accent
#D354C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82