# #5a71a8 color: Dormitory

#5a71a8 is rgb(90, 113, 168) in RGB and oklch(55.415% 0.09033 266.211) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a71a8 |
| RGB | rgb(90, 113, 168) |
| HSL | hsl(222.31, 30.95%, 50.59%) |
| HSB / HSV | hsv(222.31 46.43% 65.88%) |
| HWB | hwb(222.31 35.29% 34.12%) |
| CMYK | cmyk(46% 33% 0% 34%) |
| Lab | lab(47.61 2.97 -32.62) |
| LCH | lch(47.61 32.75 275.21) |
| OKLab | oklab(55.415% -0.00597 -0.09013) |
| OKLCH | oklch(55.415% 0.09033 266.211) |
| Display P3 | color(display-p3 0.37094 0.4405 0.64235) |
| Rec. 2020 | color(rec2020 0.34786 0.38714 0.60081) |
| Adobe RGB | color(a98-rgb 0.38155 0.4409 0.64579) |
| ProPhoto RGB | color(prophoto-rgb 0.36587 0.36791 0.56693) |
| Linear sRGB | color(srgb-linear 0.10224 0.16513 0.39157) |
| XYZ D65 | color(xyz-d65 0.17188 0.16811 0.39386) |
| XYZ D50 | color(xyz-d50 0.16421 0.16487 0.29708) |
| SwiftUI | Color(red: 0.353, green: 0.443, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.443, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A71A8) |
| Android XML | #5A71A8 |

## Facts

- Closest name: Dormitory
- Hue family: Blue, soft blue
- Closest Tailwind class: slate-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.81:1
- Contrast with black: 4.36:1

## Tints

#5a71a8, #697fb1, #798cba, #889ac3, #99a8cc, #a9b6d4, #bac5dd, #cbd3e6, #dce2ee, #edf0f7

## Shades

#5a71a8, #4d6192, #41527c, #354367, #293552, #1e273f, #131a2c, #090e1a, #03040a, #000101

## Tones

#5a71a8, #5c71a3, #5f729e, #617298, #647293, #66738e, #697389, #6b7383, #6e737e, #707378

## Harmonies

- Complementary: #5a71a8, #8a6f2d
- Split: #5a71a8, #9b643b, #707938
- Analogous: #5a71a8, #377aa1, #7867a2
- Triadic: #5a71a8, #a15d56, #4e8152
- Tetradic: #5a71a8, #8e608f, #8a6f2d, #4e8152
- Square: #5a71a8, #9d5c74, #8a6f2d, #278471
- Monochromatic: #5a71a8, #1c2e5f, #3a4e83, #7d95cf, #a1bbf7

## Questions about #5a71a8

### What color is #5a71a8?

#5a71a8 is soft blue. The closest named color is Dormitory. In RGB it is rgb(90, 113, 168), in HSL hsl(222.31, 30.95%, 50.59%) and in OKLCH oklch(55.415% 0.09033 266.211).

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

The complementary color of #5a71a8 is #8a6f2d. For a calmer combination use the analogous colors #377aa1 and #7867a2. The triadic partners are #a15d56 and #4e8152.

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

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

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

#5a71a8 is a cool color. In OKLCH its hue is 266 degrees, its lightness 55.4% and its chroma 0.09.
