# #5f79a1 color: Cocktail Blue

#5f79a1 is rgb(95, 121, 161) in RGB and oklch(57.182% 0.06925 258.833) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5f79a1

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f79a1 |
| RGB | rgb(95, 121, 161) |
| HSL | hsl(216.36, 25.98%, 50.2%) |
| HSB / HSV | hsv(216.36 40.99% 63.14%) |
| HWB | hwb(216.36 37.25% 36.86%) |
| CMYK | cmyk(41% 25% 0% 37%) |
| Lab | lab(49.99 -1.62 -24.83) |
| LCH | lch(49.99 24.88 266.26) |
| OKLab | oklab(57.182% -0.01341 -0.06794) |
| OKLCH | oklch(57.182% 0.06925 258.833) |
| Display P3 | color(display-p3 0.39307 0.47156 0.61828) |
| Rec. 2020 | color(rec2020 0.36909 0.41861 0.57533) |
| Adobe RGB | color(a98-rgb 0.40407 0.47129 0.6201) |
| ProPhoto RGB | color(prophoto-rgb 0.37826 0.3955 0.54276) |
| Linear sRGB | color(srgb-linear 0.11444 0.1912 0.3564) |
| XYZ D65 | color(xyz-d65 0.17989 0.1868 0.36377) |
| XYZ D50 | color(xyz-d50 0.17454 0.18414 0.27466) |
| SwiftUI | Color(red: 0.373, green: 0.475, blue: 0.631) |
| UIKit | UIColor(red: 0.373, green: 0.475, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF5F79A1) |
| Android XML | #5F79A1 |

## Facts

- Closest name: Cocktail Blue
- Hue family: Blue, dusty blue
- Closest Tailwind class: slate-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.43:1
- Contrast with black: 4.74:1

## Tints

#5f79a1, #6e86aa, #7d93b4, #8da0bd, #9cadc7, #acbad0, #bcc8d9, #cdd5e3, #dde3ec, #eef1f6

## Shades

#5f79a1, #52688b, #445876, #384862, #2c394e, #202b3c, #151d2a, #0a1019, #030509, #000101

## Tones

#5f79a1, #62799d, #647999, #677995, #697991, #6c798d, #6e7989, #717884, #737880, #75787c

## Harmonies

- Complementary: #5f79a1, #8e7347
- Split: #5f79a1, #9a6c53, #7b7b4a
- Analogous: #5f79a1, #498099, #76719f
- Triadic: #5f79a1, #9d6768, #63825a
- Tetradic: #5f79a1, #8a6b92, #8e7347, #63825a
- Square: #5f79a1, #97677e, #8e7347, #4c8571
- Monochromatic: #5f79a1, #1f3659, #3e567c, #829dc7, #a7c3ef

## Questions about #5f79a1

### What color is #5f79a1?

#5f79a1 is dusty blue. The closest named color is Cocktail Blue. In RGB it is rgb(95, 121, 161), in HSL hsl(216.36, 25.98%, 50.2%) and in OKLCH oklch(57.182% 0.06925 258.833).

### What colors go well with #5f79a1?

The complementary color of #5f79a1 is #8e7347. For a calmer combination use the analogous colors #498099 and #76719f. The triadic partners are #9d6768 and #63825a.

### Is white or black text more readable on #5f79a1?

White text reads better on #5f79a1: white gives a contrast ratio of 4.43:1 and black gives 4.74:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5f79a1 a warm or cool color?

#5f79a1 is a cool color. In OKLCH its hue is 259 degrees, its lightness 57.2% and its chroma 0.069.
