#5BA1F2#5BA1F2
#5BA1F2 is a light, vivid cyan. Relative luminance 0.341; OKLCH L 69.9% C 0.139 H 253.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5BA1F2 |
|---|---|
| RGB | rgb(91, 161, 242) |
| HSL | hsl(212, 85%, 65%) |
| HSV | hsv(212, 62%, 95%) |
| CMYK | cmyk(62.4%, 33.5%, 0%, 5.1%) |
| CIE-LAB | lab(65.06, 2.32, -47.12) |
| CIE-LCH | lch(65.06, 47.18, 272.81°) |
| OKLab | oklab(69.87% -0.0398 -0.1334) |
| OKLCH | oklch(69.87% 0.139 253.4) |
| XYZ | xyz(33.0805, 34.1215, 88.8300) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 4.85
Azure (survey)
#069AF3
ΔE00 5.32
Dodgerblue
#1E90FF
ΔE00 5.43
Dark Sky Blue
#448EE4
ΔE00 5.97
Sky Blue (survey)
#75BBFD
ΔE00 7.27
Carolina Blue
#8AB8FE
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BA1F2 #F2AC5B
analogous
#5BEDF2 #5BA1F2 #605BF2
triadic
#5BA1F2 #F25BA1 #A1F25B
tetradic
#5BA1F2 #F25BED #F2AC5B #5BF260
square
#5BA1F2 #F25BED #F2AC5B #5BF260
split-complementary
#5BA1F2 #F2605B #EDF25B
monochromatic
#0F63C3 #2280EE #5BA1F2 #94C2F6 #CCE2FB
Accessibility & contrast
On white
2.68
#5BA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#5BA1F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BA1F2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BA1F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BA1F2 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F5
Deuteranopia (green-blind)
#6A97F0
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5ba1f2; /* rgb */ color: rgb(91, 161, 242); /* oklch */ color: oklch(69.9% 0.139 253.4);
Tailwind
colors: {
custom: {
50: '#96bcf6',
500: '#5ba1f2',
950: '#000000',
},
}SCSS
$custom: #5ba1f2; $custom-light: #96bcf6; $custom-dark: #000000;
JSON
{
"hex": "#5ba1f2",
"rgb": {
"r": 91,
"g": 161,
"b": 242
},
"hsl": {
"h": 212.185,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.69874,
"c": 0.13922,
"h": 253.4
},
"luminance": 0.34125
}Semantic roles & 50–950 ramp
primary
#5BA1F2
secondary
#EED6BB
accent
#7B04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185