# #0c5791 color: Bandana

#0c5791 is rgb(12, 87, 145) in RGB and oklch(44.663% 0.11615 248.71) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0c5791

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c5791 |
| RGB | rgb(12, 87, 145) |
| HSL | hsl(206.17, 84.71%, 30.78%) |
| HSB / HSV | hsv(206.17 91.72% 56.86%) |
| HWB | hwb(206.17 4.71% 43.14%) |
| CMYK | cmyk(92% 40% 0% 43%) |
| Lab | lab(35.26 -3.97 -38.66) |
| LCH | lch(35.26 38.86 264.14) |
| OKLab | oklab(44.663% -0.04217 -0.10822) |
| OKLCH | oklch(44.663% 0.11615 248.71) |
| Display P3 | color(display-p3 0.15146 0.33586 0.55144) |
| Rec. 2020 | color(rec2020 0.17559 0.27475 0.5024) |
| Adobe RGB | color(a98-rgb 0.20234 0.3434 0.55636) |
| ProPhoto RGB | color(prophoto-rgb 0.234 0.26499 0.46941) |
| Linear sRGB | color(srgb-linear 0.00368 0.09531 0.28315) |
| XYZ D65 | color(xyz-d65 0.0867 0.08938 0.28057) |
| XYZ D50 | color(xyz-d50 0.07882 0.08631 0.2115) |
| SwiftUI | Color(red: 0.047, green: 0.341, blue: 0.569) |
| UIKit | UIColor(red: 0.047, green: 0.341, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF0C5791) |
| Android XML | #0C5791 |

## Facts

- Closest name: Bandana
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.53:1
- Contrast with black: 2.79:1

## Tints

#0c5791, #2d679c, #4578a8, #5c88b3, #7399be, #8aa9c9, #a1bad4, #b8cbdf, #cfdcea, #e7eef4

## Shades

#0c5791, #094b7d, #063e6a, #043358, #032746, #021c35, #011225, #000815, #000307, #000001

## Tones

#0c5791, #1b578b, #255785, #2d577f, #345779, #3a5773, #40576d, #455667, #4b5661, #4f555b

## Harmonies

- Complementary: #0c5791, #7d4500
- Split: #0c5791, #88381d, #645400
- Analogous: #0c5791, #00607a, #484b93
- Triadic: #0c5791, #883347, #406003
- Tetradic: #0c5791, #673f85, #7d4500, #406003
- Square: #0c5791, #7c376a, #7d4500, #00673b
- Monochromatic: #0c5791, #00163f, #00356c, #387bb7, #5da0df

## Questions about #0c5791

### What color is #0c5791?

#0c5791 is deep dark blue. The closest named color is Bandana. In RGB it is rgb(12, 87, 145), in HSL hsl(206.17, 84.71%, 30.78%) and in OKLCH oklch(44.663% 0.11615 248.71).

### What colors go well with #0c5791?

The complementary color of #0c5791 is #7d4500. For a calmer combination use the analogous colors #00607a and #484b93. The triadic partners are #883347 and #406003.

### Is white or black text more readable on #0c5791?

White text reads better on #0c5791: white gives a contrast ratio of 7.53:1 and black gives 2.79:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0c5791 a warm or cool color?

#0c5791 is a cool color. In OKLCH its hue is 249 degrees, its lightness 44.7% and its chroma 0.116.
