# #045791 color: Bandana

#045791 is rgb(4, 87, 145) in RGB and oklch(44.553% 0.11744 247.829) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/045791

## Formats

| Format | Value |
| --- | --- |
| HEX | #045791 |
| RGB | rgb(4, 87, 145) |
| HSL | hsl(204.68, 94.63%, 29.22%) |
| HSB / HSV | hsv(204.68 97.24% 56.86%) |
| HWB | hwb(204.68 1.57% 43.14%) |
| CMYK | cmyk(97% 40% 0% 43%) |
| Lab | lab(35.15 -4.49 -38.84) |
| LCH | lch(35.15 39.1 263.41) |
| OKLab | oklab(44.553% -0.04432 -0.10876) |
| OKLCH | oklch(44.553% 0.11744 247.829) |
| Display P3 | color(display-p3 0.14246 0.33571 0.5514) |
| Rec. 2020 | color(rec2020 0.1714 0.27443 0.50236) |
| Adobe RGB | color(a98-rgb 0.19681 0.3434 0.55636) |
| ProPhoto RGB | color(prophoto-rgb 0.23168 0.2646 0.46937) |
| Linear sRGB | color(srgb-linear 0.00121 0.09531 0.28315) |
| XYZ D65 | color(xyz-d65 0.08568 0.08886 0.28053) |
| XYZ D50 | color(xyz-d50 0.07775 0.08576 0.21147) |
| SwiftUI | Color(red: 0.016, green: 0.341, blue: 0.569) |
| UIKit | UIColor(red: 0.016, green: 0.341, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF045791) |
| Android XML | #045791 |

## 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.56:1
- Contrast with black: 2.78:1

## Tints

#045791, #2a679c, #4378a8, #5b88b3, #7299be, #89a9c9, #a0bad4, #b7cbdf, #cfdcea, #e7eef4

## Shades

#045791, #034b7d, #023e6a, #013358, #012746, #001c35, #001225, #000815, #000307, #000001

## Tones

#045791, #17578b, #225785, #2b577f, #325779, #395773, #3f576d, #455667, #4a5561, #4f555a

## Harmonies

- Complementary: #045791, #7d4400
- Split: #045791, #88371e, #655300
- Analogous: #045791, #006079, #464b93
- Triadic: #045791, #873348, #415f00
- Tetradic: #045791, #663f85, #7d4400, #415f00
- Square: #045791, #7c366a, #7d4400, #006739
- Monochromatic: #045791, #00163d, #00356c, #347bb7, #5aa0df

## Questions about #045791

### What color is #045791?

#045791 is deep dark blue. The closest named color is Bandana. In RGB it is rgb(4, 87, 145), in HSL hsl(204.68, 94.63%, 29.22%) and in OKLCH oklch(44.553% 0.11744 247.829).

### What colors go well with #045791?

The complementary color of #045791 is #7d4400. For a calmer combination use the analogous colors #006079 and #464b93. The triadic partners are #873348 and #415f00.

### Is white or black text more readable on #045791?

White text reads better on #045791: white gives a contrast ratio of 7.56:1 and black gives 2.78:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #045791 a warm or cool color?

#045791 is a cool color. In OKLCH its hue is 248 degrees, its lightness 44.6% and its chroma 0.117.
