#756FEB#756FEB
#756FEB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.0% C 0.181 H 281.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #756FEB |
|---|---|
| RGB | rgb(117, 111, 235) |
| HSL | hsl(243, 76%, 68%) |
| HSV | hsv(243, 53%, 92%) |
| CMYK | cmyk(50.2%, 52.8%, 0%, 7.8%) |
| CIE-LAB | lab(53.11, 34.85, -62.20) |
| CIE-LCH | lch(53.11, 71.30, 299.26°) |
| OKLab | oklab(60.98% 0.0369 -0.1776) |
| OKLCH | oklch(60.98% 0.181 281.8) |
| XYZ | xyz(28.0114, 21.1474, 81.1870) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.52
Cornflower
#6A79F7
ΔE00 4.35
Mediumpurple
#9370DB
ΔE00 6.73
Dark Periwinkle
#665FD1
ΔE00 6.77
Periwinkle (survey)
#8E82FE
ΔE00 6.99
Cornflower Blue
#5170D7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756FEB #E5EB6F
analogous
#6FA7EB #756FEB #B36FEB
triadic
#756FEB #EB756F #6FEB75
tetradic
#756FEB #EB6FA7 #E5EB6F #6FEBB3
square
#756FEB #EB6FA7 #E5EB6F #6FEBB3
split-complementary
#756FEB #EBB36F #A7EB6F
monochromatic
#231BC4 #4239E4 #756FEB #A8A5F2 #DCDAFA
Accessibility & contrast
On white
4.02
#756FEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#756FEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756FEB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756FEB | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#478BA2
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #756feb; /* rgb */ color: rgb(117, 111, 235); /* oklch */ color: oklch(61.0% 0.181 281.8);
Tailwind
colors: {
custom: {
50: '#a498f2',
500: '#756feb',
950: '#000000',
},
}SCSS
$custom: #756feb; $custom-light: #a498f2; $custom-dark: #000000;
JSON
{
"hex": "#756feb",
"rgb": {
"r": 117,
"g": 111,
"b": 235
},
"hsl": {
"h": 242.903,
"s": 75.61,
"l": 67.843
},
"oklch": {
"l": 0.60977,
"c": 0.18138,
"h": 281.8
},
"luminance": 0.21149
}Semantic roles & 50–950 ramp
primary
#756FEB
secondary
#ECEEC8
accent
#D80ECE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85