# #5157a6 color: Brandywine Raspberry

#5157a6 is rgb(81, 87, 166) in RGB and oklch(49.149% 0.12475 277.491) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5157a6 |
| RGB | rgb(81, 87, 166) |
| HSL | hsl(235.76, 34.41%, 48.43%) |
| HSB / HSV | hsv(235.76 51.2% 65.1%) |
| HWB | hwb(235.76 31.76% 34.9%) |
| CMYK | cmyk(51% 48% 0% 35%) |
| Lab | lab(39.54 15.1 -44.19) |
| LCH | lch(39.54 46.7 288.87) |
| OKLab | oklab(49.149% 0.01626 -0.12369) |
| OKLCH | oklch(49.149% 0.12475 277.491) |
| Display P3 | color(display-p3 0.32198 0.34043 0.63066) |
| Rec. 2020 | color(rec2020 0.28991 0.28661 0.58721) |
| Adobe RGB | color(a98-rgb 0.32771 0.3434 0.63595) |
| ProPhoto RGB | color(prophoto-rgb 0.32001 0.28146 0.55153) |
| Linear sRGB | color(srgb-linear 0.08228 0.09531 0.38133) |
| XYZ D65 | color(xyz-d65 0.13684 0.11319 0.37541) |
| XYZ D50 | color(xyz-d50 0.12715 0.10975 0.2827) |
| SwiftUI | Color(red: 0.318, green: 0.341, blue: 0.651) |
| UIKit | UIColor(red: 0.318, green: 0.341, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5157A6) |
| Android XML | #5157A6 |

## Facts

- Closest name: Brandywine Raspberry
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.43:1
- Contrast with black: 3.26:1

## Tints

#5157a6, #6067b0, #7078b9, #8088c2, #9199cb, #a2aad4, #b4badd, #c6cbe6, #d9dcee, #eceef7

## Shades

#5157a6, #454b90, #3a3e7a, #2f3365, #242751, #1a1c3e, #10122b, #07081a, #02030a, #000001

## Tones

#5157a6, #52599f, #545a99, #555b92, #565d8b, #585e84, #5a5e7d, #5b5f76, #5d606f, #5f6068

## Harmonies

- Complementary: #5157a6, #746000
- Split: #5157a6, #8e5000, #4d6d06
- Analogous: #5157a6, #0e64a3, #744b97
- Triadic: #5157a6, #9a4227, #007543
- Tetradic: #5157a6, #8c417a, #746000, #007543
- Square: #5157a6, #993d54, #746000, #00736b
- Monochromatic: #5157a6, #19115b, #333480, #727bcd, #95a0f6

## Questions about #5157a6

### What color is #5157a6?

#5157a6 is soft dark indigo. The closest named color is Brandywine Raspberry. In RGB it is rgb(81, 87, 166), in HSL hsl(235.76, 34.41%, 48.43%) and in OKLCH oklch(49.149% 0.12475 277.491).

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

The complementary color of #5157a6 is #746000. For a calmer combination use the analogous colors #0e64a3 and #744b97. The triadic partners are #9a4227 and #007543.

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

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

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

#5157a6 is a cool color. In OKLCH its hue is 277 degrees, its lightness 49.1% and its chroma 0.125.
