# #5a6ba8 color: Twinkle Night

#5a6ba8 is rgb(90, 107, 168) in RGB and oklch(54.109% 0.09786 271.024) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a6ba8 |
| RGB | rgb(90, 107, 168) |
| HSL | hsl(226.92, 30.95%, 50.59%) |
| HSB / HSV | hsv(226.92 46.43% 65.88%) |
| HWB | hwb(226.92 35.29% 34.12%) |
| CMYK | cmyk(46% 36% 0% 34%) |
| Lab | lab(45.89 6.39 -35.29) |
| LCH | lch(45.89 35.86 280.26) |
| OKLab | oklab(54.109% 0.00175 -0.09784) |
| OKLCH | oklch(54.109% 0.09786 271.024) |
| Display P3 | color(display-p3 0.36587 0.4176 0.64132) |
| Rec. 2020 | color(rec2020 0.3389 0.36418 0.59944) |
| Adobe RGB | color(a98-rgb 0.37402 0.41823 0.64522) |
| ProPhoto RGB | color(prophoto-rgb 0.35838 0.34792 0.56507) |
| Linear sRGB | color(srgb-linear 0.10224 0.14703 0.39157) |
| XYZ D65 | color(xyz-d65 0.16541 0.15516 0.3917) |
| XYZ D50 | color(xyz-d50 0.15724 0.15189 0.29532) |
| SwiftUI | Color(red: 0.353, green: 0.42, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.42, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A6BA8) |
| Android XML | #5A6BA8 |

## Facts

- Closest name: Twinkle Night
- Hue family: Indigo, soft indigo
- Closest Tailwind class: slate-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.12:1
- Contrast with black: 4.1:1

## Tints

#5a6ba8, #6979b1, #7888ba, #8896c3, #98a5cc, #a9b3d4, #b9c2dd, #cad1e6, #dce0ee, #edf0f7

## Shades

#5a6ba8, #4d5c92, #414e7c, #353f67, #293252, #1e253f, #13182c, #090d1a, #03040a, #000001

## Tones

#5a6ba8, #5c6ca2, #5e6c9d, #606d97, #626d92, #646e8c, #666e86, #686e81, #6b6f7b, #6d6f75

## Harmonies

- Complementary: #5a6ba8, #846c1f
- Split: #5a6ba8, #98602d, #677731
- Analogous: #5a6ba8, #3275a2, #79619f
- Triadic: #5a6ba8, #a0584b, #3f7f51
- Tetradic: #5a6ba8, #8f5989, #846c1f, #3f7f51
- Square: #5a6ba8, #9d556b, #846c1f, #008172
- Monochromatic: #5a6ba8, #1d285e, #3a4982, #7c8fcf, #a0b5f7

## Questions about #5a6ba8

### What color is #5a6ba8?

#5a6ba8 is soft indigo. The closest named color is Twinkle Night. In RGB it is rgb(90, 107, 168), in HSL hsl(226.92, 30.95%, 50.59%) and in OKLCH oklch(54.109% 0.09786 271.024).

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

The complementary color of #5a6ba8 is #846c1f. For a calmer combination use the analogous colors #3275a2 and #79619f. The triadic partners are #a0584b and #3f7f51.

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

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

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

#5a6ba8 is a cool color. In OKLCH its hue is 271 degrees, its lightness 54.1% and its chroma 0.098.
