# #2a5797 color: B’dazzled Blue

#2a5797 is rgb(42, 87, 151) in RGB and oklch(45.893% 0.11578 257.576) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2a5797

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a5797 |
| RGB | rgb(42, 87, 151) |
| HSL | hsl(215.23, 56.48%, 37.84%) |
| HSB / HSV | hsv(215.23 72.19% 59.22%) |
| HWB | hwb(215.23 16.47% 40.78%) |
| CMYK | cmyk(72% 42% 0% 41%) |
| Lab | lab(36.41 1.8 -40.39) |
| LCH | lch(36.41 40.43 272.55) |
| OKLab | oklab(45.893% -0.02491 -0.11307) |
| OKLCH | oklch(45.893% 0.11578 257.576) |
| Display P3 | color(display-p3 0.20895 0.337 0.57403) |
| Rec. 2020 | color(rec2020 0.20905 0.27777 0.52649) |
| Adobe RGB | color(a98-rgb 0.24091 0.3434 0.57899) |
| ProPhoto RGB | color(prophoto-rgb 0.25791 0.26924 0.49247) |
| Linear sRGB | color(srgb-linear 0.02315 0.09531 0.30947) |
| XYZ D65 | color(xyz-d65 0.09948 0.09543 0.30597) |
| XYZ D50 | color(xyz-d50 0.09108 0.09224 0.23057) |
| SwiftUI | Color(red: 0.165, green: 0.341, blue: 0.592) |
| UIKit | UIColor(red: 0.165, green: 0.341, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF2A5797) |
| Android XML | #2A5797 |

## Facts

- Closest name: B’dazzled Blue
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.22:1
- Contrast with black: 2.91:1

## Tints

#2a5797, #3f67a2, #5378ad, #6788b7, #7c99c2, #91a9cc, #a6bad7, #bccbe1, #d2dceb, #e8eef5

## Shades

#2a5797, #234b83, #1c3e6f, #16335c, #102749, #0a1c37, #051226, #020817, #010308, #000001

## Tones

#2a5797, #305891, #35588b, #3a5885, #3f597e, #435978, #485972, #4c596b, #505865, #54585e

## Harmonies

- Complementary: #2a5797, #7a4d00
- Split: #2a5797, #8a3f11, #5f5b00
- Analogous: #2a5797, #006288, #554b94
- Triadic: #2a5797, #8d383f, #34661f
- Tetradic: #2a5797, #724081, #7a4d00, #34661f
- Square: #2a5797, #843963, #7a4d00, #006b4a
- Monochromatic: #2a5797, #00134e, #053572, #4c7bbe, #6fa0e5

## Questions about #2a5797

### What color is #2a5797?

#2a5797 is soft dark blue. The closest named color is B’dazzled Blue. In RGB it is rgb(42, 87, 151), in HSL hsl(215.23, 56.48%, 37.84%) and in OKLCH oklch(45.893% 0.11578 257.576).

### What colors go well with #2a5797?

The complementary color of #2a5797 is #7a4d00. For a calmer combination use the analogous colors #006288 and #554b94. The triadic partners are #8d383f and #34661f.

### Is white or black text more readable on #2a5797?

White text reads better on #2a5797: white gives a contrast ratio of 7.22:1 and black gives 2.91:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2a5797 a warm or cool color?

#2a5797 is a cool color. In OKLCH its hue is 258 degrees, its lightness 45.9% and its chroma 0.116.
