#6257CB#6257CB
#6257CB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.174 H 283.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6257CB |
|---|---|
| RGB | rgb(98, 87, 203) |
| HSL | hsl(246, 53%, 57%) |
| HSV | hsv(246, 57%, 80%) |
| CMYK | cmyk(51.7%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(43.83, 35.58, -59.08) |
| CIE-LCH | lch(43.83, 68.97, 301.06°) |
| OKLab | oklab(53.04% 0.0391 -0.1691) |
| OKLCH | oklch(53.04% 0.174 283) |
| XYZ | xyz(19.2214, 13.7238, 58.1245) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.09
Slate Blue
#6A5ACD
ΔE00 1.63
Light Indigo
#6D5ACF
ΔE00 2.16
Dark Periwinkle
#665FD1
ΔE00 2.66
Warm Blue
#4B57DB
ΔE00 3.96
Bluey Purple
#6241C7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6257CB #C0CB57
analogous
#5786CB #6257CB #9C57CB
triadic
#6257CB #CB6257 #57CB62
tetradic
#6257CB #CB5786 #C0CB57 #57CB9C
square
#6257CB #CB5786 #C0CB57 #57CB9C
split-complementary
#6257CB #CB9C57 #86CB57
monochromatic
#302880 #4236AF #6257CB #8E86D9 #B9B4E8
Accessibility & contrast
On white
5.61
#6257CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#6257CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6257CB
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6257CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6257CB | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#387288
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6257cb; /* rgb */ color: rgb(98, 87, 203); /* oklch */ color: oklch(53.0% 0.174 283.0);
Tailwind
colors: {
custom: {
50: '#9787dc',
500: '#6257cb',
950: '#000000',
},
}SCSS
$custom: #6257cb; $custom-light: #9787dc; $custom-dark: #000000;
JSON
{
"hex": "#6257cb",
"rgb": {
"r": 98,
"g": 87,
"b": 203
},
"hsl": {
"h": 245.69,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.53038,
"c": 0.17353,
"h": 283
},
"luminance": 0.13725
}Semantic roles & 50–950 ramp
primary
#6257CB
secondary
#D2D7A7
accent
#DC4CCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83