#5B7AEA#5B7AEA
#5B7AEA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.172 H 269.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7AEA |
|---|---|
| RGB | rgb(91, 122, 234) |
| HSL | hsl(227, 77%, 64%) |
| HSV | hsv(227, 61%, 92%) |
| CMYK | cmyk(61.1%, 47.9%, 0%, 8.2%) |
| CIE-LAB | lab(54.11, 22.86, -60.12) |
| CIE-LCH | lch(54.11, 64.32, 290.82°) |
| OKLab | oklab(61.28% -0.0024 -0.172) |
| OKLCH | oklch(61.28% 0.172 269.2) |
| XYZ | xyz(26.1202, 22.0815, 80.7116) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.28
Lightish Blue
#3D7AFD
ΔE00 3.44
Cornflower Blue
#5170D7
ΔE00 4.36
Soft Blue
#6488EA
ΔE00 4.51
Clear Blue
#247AFD
ΔE00 4.99
Dodger Blue
#3E82FC
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7AEA #EACB5B
analogous
#5BC1EA #5B7AEA #835BEA
triadic
#5B7AEA #EA5B7A #7AEA5B
tetradic
#5B7AEA #EA5BC1 #EACB5B #5BEA83
square
#5B7AEA #EA5BC1 #EACB5B #5BEA83
split-complementary
#5B7AEA #EA835B #C1EA5B
monochromatic
#1739B4 #254EE3 #5B7AEA #91A6F1 #C8D2F8
Accessibility & contrast
On white
3.88
#5B7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#5B7AEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7AEA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7AEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7AEA | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5b7aea; /* rgb */ color: rgb(91, 122, 234); /* oklch */ color: oklch(61.3% 0.172 269.2);
Tailwind
colors: {
custom: {
50: '#96a0f1',
500: '#5b7aea',
950: '#000000',
},
}SCSS
$custom: #5b7aea; $custom-light: #96a0f1; $custom-dark: #000000;
JSON
{
"hex": "#5b7aea",
"rgb": {
"r": 91,
"g": 122,
"b": 234
},
"hsl": {
"h": 226.993,
"s": 77.297,
"l": 63.725
},
"oklch": {
"l": 0.6128,
"c": 0.17199,
"h": 269.2
},
"luminance": 0.22084
}Semantic roles & 50–950 ramp
primary
#5B7AEA
secondary
#EADFB7
accent
#AD0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85