# #5a6fa8 color: Dormitory

#5a6fa8 is rgb(90, 111, 168) in RGB and oklch(54.977% 0.09277 267.901) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a6fa8 |
| RGB | rgb(90, 111, 168) |
| HSL | hsl(223.85, 30.95%, 50.59%) |
| HSB / HSV | hsv(223.85 46.43% 65.88%) |
| HWB | hwb(223.85 35.29% 34.12%) |
| CMYK | cmyk(46% 34% 0% 34%) |
| Lab | lab(47.03 4.11 -33.51) |
| LCH | lch(47.03 33.76 276.98) |
| OKLab | oklab(54.977% -0.0034 -0.0927) |
| OKLCH | oklch(54.977% 0.09277 267.901) |
| Display P3 | color(display-p3 0.36922 0.43287 0.642) |
| Rec. 2020 | color(rec2020 0.34483 0.37947 0.60034) |
| Adobe RGB | color(a98-rgb 0.37901 0.43333 0.64559) |
| ProPhoto RGB | color(prophoto-rgb 0.36333 0.3612 0.5663) |
| Linear sRGB | color(srgb-linear 0.10224 0.15896 0.39157) |
| XYZ D65 | color(xyz-d65 0.16968 0.16369 0.39313) |
| XYZ D50 | color(xyz-d50 0.16183 0.16044 0.29648) |
| SwiftUI | Color(red: 0.353, green: 0.435, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.435, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A6FA8) |
| Android XML | #5A6FA8 |

## 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.91:1
- Contrast with black: 4.27:1

## Tints

#5a6fa8, #697db1, #798bba, #8899c3, #98a7cc, #a9b5d4, #bac4dd, #cbd2e6, #dce1ee, #edf0f7

## Shades

#5a6fa8, #4d6092, #41517c, #354267, #293452, #1e273f, #131a2c, #090e1a, #03040a, #000101

## Tones

#5a6fa8, #5c70a3, #5f709d, #617098, #637193, #66718d, #687188, #6a7182, #6d717d, #6f7177

## Harmonies

- Complementary: #5a6fa8, #886e29
- Split: #5a6fa8, #9a6337, #6d7935
- Analogous: #5a6fa8, #3579a1, #7865a1
- Triadic: #5a6fa8, #a15b53, #498052
- Tetradic: #5a6fa8, #8f5d8d, #886e29, #498052
- Square: #5a6fa8, #9d5971, #886e29, #1e8371
- Monochromatic: #5a6fa8, #1c2c5f, #3a4c83, #7c93cf, #a1b9f7

## Questions about #5a6fa8

### What color is #5a6fa8?

#5a6fa8 is soft blue. The closest named color is Dormitory. In RGB it is rgb(90, 111, 168), in HSL hsl(223.85, 30.95%, 50.59%) and in OKLCH oklch(54.977% 0.09277 267.901).

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

The complementary color of #5a6fa8 is #886e29. For a calmer combination use the analogous colors #3579a1 and #7865a1. The triadic partners are #a15b53 and #498052.

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

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

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

#5a6fa8 is a cool color. In OKLCH its hue is 268 degrees, its lightness 55% and its chroma 0.093.
