# #2a5799 color: Cyan Cobalt Blue

#2a5799 is rgb(42, 87, 153) in RGB and oklch(46.026% 0.11859 258.089) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a5799 |
| RGB | rgb(42, 87, 153) |
| HSL | hsl(215.68, 56.92%, 38.24%) |
| HSB / HSV | hsv(215.68 72.55% 60%) |
| HWB | hwb(215.68 16.47% 40%) |
| CMYK | cmyk(73% 43% 0% 40%) |
| Lab | lab(36.52 2.43 -41.43) |
| LCH | lch(36.52 41.5 273.35) |
| OKLab | oklab(46.026% -0.02448 -0.11604) |
| OKLCH | oklch(46.026% 0.11859 258.089) |
| Display P3 | color(display-p3 0.20895 0.337 0.58146) |
| Rec. 2020 | color(rec2020 0.20996 0.27796 0.53444) |
| Adobe RGB | color(a98-rgb 0.24091 0.3434 0.58656) |
| ProPhoto RGB | color(prophoto-rgb 0.25999 0.26964 0.50012) |
| Linear sRGB | color(srgb-linear 0.02315 0.09531 0.31855) |
| XYZ D65 | color(xyz-d65 0.10112 0.09608 0.3146) |
| XYZ D50 | color(xyz-d50 0.09238 0.09279 0.23705) |
| SwiftUI | Color(red: 0.165, green: 0.341, blue: 0.6) |
| UIKit | UIColor(red: 0.165, green: 0.341, blue: 0.6, alpha: 1) |
| Flutter / Compose | Color(0xFF2A5799) |
| Android XML | #2A5799 |

## Facts

- Closest name: Cyan Cobalt 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.19:1
- Contrast with black: 2.92:1

## Tints

#2a5799, #3f67a4, #5378ae, #6788b9, #7c99c3, #91a9cd, #a6bad8, #bccbe2, #d2dcec, #e8eef5

## Shades

#2a5799, #234b84, #1c3e70, #16335d, #10274a, #0a1c38, #051227, #020817, #010308, #000001

## Tones

#2a5799, #305893, #35588c, #3a5986, #3f5980, #435979, #485973, #4c596c, #505966, #54585f

## Harmonies

- Complementary: #2a5799, #7a4e00
- Split: #2a5799, #8b3f0c, #5f5c00
- Analogous: #2a5799, #006289, #564a96
- Triadic: #2a5799, #8e373e, #33671e
- Tetradic: #2a5799, #734082, #7a4e00, #33671e
- Square: #2a5799, #863864, #7a4e00, #006c4b
- Monochromatic: #2a5799, #001250, #063574, #4c7bc0, #6fa0e8

## Questions about #2a5799

### What color is #2a5799?

#2a5799 is soft dark blue. The closest named color is Cyan Cobalt Blue. In RGB it is rgb(42, 87, 153), in HSL hsl(215.68, 56.92%, 38.24%) and in OKLCH oklch(46.026% 0.11859 258.089).

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

The complementary color of #2a5799 is #7a4e00. For a calmer combination use the analogous colors #006289 and #564a96. The triadic partners are #8e373e and #33671e.

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

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

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

#2a5799 is a cool color. In OKLCH its hue is 258 degrees, its lightness 46% and its chroma 0.119.
