# #5161a6 color: Starstruck

#5161a6 is rgb(81, 97, 166) in RGB and oklch(51.23% 0.11094 272.114) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5161a6

## Formats

| Format | Value |
| --- | --- |
| HEX | #5161a6 |
| RGB | rgb(81, 97, 166) |
| HSL | hsl(228.71, 34.41%, 48.43%) |
| HSB / HSV | hsv(228.71 51.2% 65.1%) |
| HWB | hwb(228.71 31.76% 34.9%) |
| CMYK | cmyk(51% 42% 0% 35%) |
| Lab | lab(42.33 9.16 -39.77) |
| LCH | lch(42.33 40.82 282.98) |
| OKLab | oklab(51.23% 0.00409 -0.11087) |
| OKLCH | oklch(51.23% 0.11094 272.114) |
| Display P3 | color(display-p3 0.32985 0.37851 0.63207) |
| Rec. 2020 | color(rec2020 0.30366 0.324 0.58908) |
| Adobe RGB | color(a98-rgb 0.33942 0.38066 0.63672) |
| ProPhoto RGB | color(prophoto-rgb 0.33092 0.31252 0.55407) |
| Linear sRGB | color(srgb-linear 0.08228 0.11954 0.38133) |
| XYZ D65 | color(xyz-d65 0.1455 0.13052 0.3783) |
| XYZ D50 | color(xyz-d50 0.13648 0.12712 0.28506) |
| SwiftUI | Color(red: 0.318, green: 0.38, blue: 0.651) |
| UIKit | UIColor(red: 0.318, green: 0.38, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5161A6) |
| Android XML | #5161A6 |

## Facts

- Closest name: Starstruck
- Hue family: Indigo, soft indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.82:1
- Contrast with black: 3.61:1

## Tints

#5161a6, #6070af, #7080b9, #818fc2, #929fcb, #a3aed4, #b5bedd, #c7cee5, #d9deee, #eceff7

## Shades

#5161a6, #455390, #3a467a, #2f3965, #242d51, #1a213e, #10152b, #070b1a, #02030a, #000001

## Tones

#5161a6, #5362a0, #55639a, #576494, #59648d, #5b6587, #5e6681, #60667a, #626674, #64666d

## Harmonies

- Complementary: #5161a6, #7e6400
- Split: #5161a6, #935611, #5c701b
- Analogous: #5161a6, #1a6da0, #73569b
- Triadic: #5161a6, #9c4c3c, #297846
- Tetradic: #5161a6, #8b4d83, #7e6400, #297846
- Square: #5161a6, #994862, #7e6400, #007b6c
- Monochromatic: #5161a6, #171d5c, #323f80, #7385cd, #96aaf5

## Questions about #5161a6

### What color is #5161a6?

#5161a6 is soft indigo. The closest named color is Starstruck. In RGB it is rgb(81, 97, 166), in HSL hsl(228.71, 34.41%, 48.43%) and in OKLCH oklch(51.23% 0.11094 272.114).

### What colors go well with #5161a6?

The complementary color of #5161a6 is #7e6400. For a calmer combination use the analogous colors #1a6da0 and #73569b. The triadic partners are #9c4c3c and #297846.

### Is white or black text more readable on #5161a6?

White text reads better on #5161a6: white gives a contrast ratio of 5.82:1 and black gives 3.61:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5161a6 a warm or cool color?

#5161a6 is a cool color. In OKLCH its hue is 272 degrees, its lightness 51.2% and its chroma 0.111.
