# #5f70a7 color: Dormitory

#5f70a7 is rgb(95, 112, 167) in RGB and oklch(55.486% 0.08828 270.247) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f70a7 |
| RGB | rgb(95, 112, 167) |
| HSL | hsl(225.83, 29.03%, 51.37%) |
| HSB / HSV | hsv(225.83 43.11% 65.49%) |
| HWB | hwb(225.83 37.25% 34.51%) |
| CMYK | cmyk(43% 33% 0% 35%) |
| Lab | lab(47.63 4.77 -31.97) |
| LCH | lch(47.63 32.32 278.48) |
| OKLab | oklab(55.486% 0.00038 -0.08828) |
| OKLCH | oklch(55.486% 0.08828 270.247) |
| Display P3 | color(display-p3 0.38543 0.4372 0.63865) |
| Rec. 2020 | color(rec2020 0.35726 0.38436 0.59677) |
| Adobe RGB | color(a98-rgb 0.39267 0.43712 0.64189) |
| ProPhoto RGB | color(prophoto-rgb 0.37168 0.36586 0.56289) |
| Linear sRGB | color(srgb-linear 0.11444 0.16203 0.38643) |
| XYZ D65 | color(xyz-d65 0.17487 0.16811 0.38884) |
| XYZ D50 | color(xyz-d50 0.1676 0.16504 0.29327) |
| SwiftUI | Color(red: 0.373, green: 0.439, blue: 0.655) |
| UIKit | UIColor(red: 0.373, green: 0.439, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5F70A7) |
| Android XML | #5F70A7 |

## 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

#5f70a7, #6e7eb0, #7d8cb9, #8c9ac2, #9ca8cb, #abb6d4, #bcc4dc, #ccd3e5, #dde1ee, #eef0f6

## Shades

#5f70a7, #526091, #44517b, #384366, #2c3552, #20273e, #151a2c, #0a0e1a, #03040a, #000101

## Tones

#5f70a7, #6171a2, #63719d, #657198, #677293, #69728e, #6b7288, #6d7383, #6f737e, #717378

## Harmonies

- Complementary: #5f70a7, #87712f
- Split: #5f70a7, #99663a, #6c7b3c
- Analogous: #5f70a7, #3e79a2, #7b679f
- Triadic: #5f70a7, #a05e53, #4a8257
- Tetradic: #5f70a7, #905f8b, #87712f, #4a8257
- Square: #5f70a7, #9d5c71, #87712f, #268475
- Monochromatic: #5f70a7, #212d5e, #3f4e82, #8294ce, #a6baf6

## Questions about #5f70a7

### What color is #5f70a7?

#5f70a7 is soft blue. The closest named color is Dormitory. In RGB it is rgb(95, 112, 167), in HSL hsl(225.83, 29.03%, 51.37%) and in OKLCH oklch(55.486% 0.08828 270.247).

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

The complementary color of #5f70a7 is #87712f. For a calmer combination use the analogous colors #3e79a2 and #7b679f. The triadic partners are #a05e53 and #4a8257.

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

White text reads better on #5f70a7: 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 #5f70a7 a warm or cool color?

#5f70a7 is a cool color. In OKLCH its hue is 270 degrees, its lightness 55.5% and its chroma 0.088.
