#5197B2#5197B2
#5197B2 is a light, moderate cyan. Relative luminance 0.271; OKLCH L 64.1% C 0.081 H 225.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5197B2 |
|---|---|
| RGB | rgb(81, 151, 178) |
| HSL | hsl(197, 39%, 51%) |
| HSV | hsv(197, 54%, 70%) |
| CMYK | cmyk(54.5%, 15.2%, 0%, 30.2%) |
| CIE-LAB | lab(59.06, -14.27, -20.82) |
| CIE-LCH | lch(59.06, 25.24, 235.57°) |
| OKLab | oklab(64.13% -0.057 -0.0578) |
| OKLCH | oklch(64.13% 0.081 225.4) |
| XYZ | xyz(22.4928, 27.0949, 46.1554) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Greyblue
#77A1B5
ΔE00 6.01
Dirty Blue
#3F829D
ΔE00 7.47
Teal Blue
#01889F
ΔE00 8.13
Bluegrey
#85A3B2
ΔE00 8.82
Dusty Blue
#5A86AD
ΔE00 9.06
Bluish Grey
#748B97
ΔE00 9.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5197B2 #B26C51
analogous
#51B29C #5197B2 #5166B2
triadic
#5197B2 #B25197 #97B251
tetradic
#5197B2 #9C51B2 #B26C51 #66B251
square
#5197B2 #9C51B2 #B26C51 #66B251
split-complementary
#5197B2 #B25166 #B29C51
monochromatic
#2A505F #3D7489 #5197B2 #7BB0C5 #A6CAD8
Accessibility & contrast
On white
3.27
#5197B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#5197B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5197B2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5197B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5197B2 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8894B3
Deuteranopia (green-blind)
#7A8AB2
Tritanopia (blue-blind)
#009FA0
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5197b2; /* rgb */ color: rgb(81, 151, 178); /* oklch */ color: oklch(64.1% 0.081 225.4);
Tailwind
colors: {
custom: {
50: '#89b5c9',
500: '#5197b2',
950: '#000000',
},
}SCSS
$custom: #5197b2; $custom-light: #89b5c9; $custom-dark: #000000;
JSON
{
"hex": "#5197b2",
"rgb": {
"r": 81,
"g": 151,
"b": 178
},
"hsl": {
"h": 196.701,
"s": 38.645,
"l": 50.784
},
"oklch": {
"l": 0.6413,
"c": 0.08119,
"h": 225.4
},
"luminance": 0.27097
}Semantic roles & 50–950 ramp
primary
#5197B2
secondary
#C5A69A
accent
#7A59CF
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0C1113
muted
#7D8082