# #2a5796 color: B’dazzled Blue

#2a5796 is rgb(42, 87, 150) in RGB and oklch(45.827% 0.11437 257.306) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a5796 |
| RGB | rgb(42, 87, 150) |
| HSL | hsl(215, 56.25%, 37.65%) |
| HSB / HSV | hsv(215 72% 58.82%) |
| HWB | hwb(215 16.47% 41.18%) |
| CMYK | cmyk(72% 42% 0% 41%) |
| Lab | lab(36.36 1.48 -39.87) |
| LCH | lch(36.36 39.9 272.13) |
| OKLab | oklab(45.827% -0.02513 -0.11158) |
| OKLCH | oklch(45.827% 0.11437 257.306) |
| Display P3 | color(display-p3 0.20895 0.337 0.57032) |
| Rec. 2020 | color(rec2020 0.20859 0.27768 0.52253) |
| Adobe RGB | color(a98-rgb 0.24091 0.3434 0.57522) |
| ProPhoto RGB | color(prophoto-rgb 0.25687 0.26904 0.48866) |
| Linear sRGB | color(srgb-linear 0.02315 0.09531 0.30499) |
| XYZ D65 | color(xyz-d65 0.09867 0.0951 0.30171) |
| XYZ D50 | color(xyz-d50 0.09044 0.09196 0.22737) |
| SwiftUI | Color(red: 0.165, green: 0.341, blue: 0.588) |
| UIKit | UIColor(red: 0.165, green: 0.341, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF2A5796) |
| Android XML | #2A5796 |

## 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.24:1
- Contrast with black: 2.9:1

## Tints

#2a5796, #3f67a1, #5378ac, #6788b7, #7c99c1, #91a9cc, #a6bad6, #bccbe1, #d2dceb, #e8edf5

## Shades

#2a5796, #234b82, #1c3e6e, #16335b, #102749, #0a1c37, #051226, #020816, #010308, #000001

## Tones

#2a5796, #305890, #35588a, #3a5884, #3f597e, #435977, #475971, #4c586b, #505865, #54585e

## Harmonies

- Complementary: #2a5796, #7a4d00
- Split: #2a5796, #893f13, #5f5b00
- Analogous: #2a5796, #006287, #554b93
- Triadic: #2a5796, #8c3840, #35661f
- Tetradic: #2a5796, #714081, #7a4d00, #35661f
- Square: #2a5796, #833963, #7a4d00, #006b4a
- Monochromatic: #2a5796, #00134d, #053571, #4c7bbd, #6f9fe4

## Questions about #2a5796

### What color is #2a5796?

#2a5796 is soft dark blue. The closest named color is B’dazzled Blue. In RGB it is rgb(42, 87, 150), in HSL hsl(215, 56.25%, 37.65%) and in OKLCH oklch(45.827% 0.11437 257.306).

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

The complementary color of #2a5796 is #7a4d00. For a calmer combination use the analogous colors #006287 and #554b93. The triadic partners are #8c3840 and #35661f.

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

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

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

#2a5796 is a cool color. In OKLCH its hue is 257 degrees, its lightness 45.8% and its chroma 0.114.
