# #2b5798 color: Cyan Cobalt Blue

#2b5798 is rgb(43, 87, 152) in RGB and oklch(46.001% 0.11682 258.181) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2b5798 |
| RGB | rgb(43, 87, 152) |
| HSL | hsl(215.78, 55.9%, 38.24%) |
| HSB / HSV | hsv(215.78 71.71% 59.61%) |
| HWB | hwb(215.78 16.86% 40.39%) |
| CMYK | cmyk(72% 43% 0% 40%) |
| Lab | lab(36.51 2.29 -40.84) |
| LCH | lch(36.51 40.9 273.21) |
| OKLab | oklab(46.001% -0.02393 -0.11435) |
| OKLCH | oklch(46.001% 0.11682 258.181) |
| Display P3 | color(display-p3 0.21146 0.33706 0.57776) |
| Rec. 2020 | color(rec2020 0.21097 0.27799 0.53048) |
| Adobe RGB | color(a98-rgb 0.2427 0.3434 0.58277) |
| ProPhoto RGB | color(prophoto-rgb 0.25982 0.2696 0.49631) |
| Linear sRGB | color(srgb-linear 0.02416 0.09531 0.31399) |
| XYZ D65 | color(xyz-d65 0.10071 0.09597 0.31028) |
| XYZ D50 | color(xyz-d50 0.09217 0.09273 0.23381) |
| SwiftUI | Color(red: 0.169, green: 0.341, blue: 0.596) |
| UIKit | UIColor(red: 0.169, green: 0.341, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF2B5798) |
| Android XML | #2B5798 |

## 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

#2b5798, #3f67a3, #5478ae, #6888b8, #7c99c3, #91a9cd, #a7bad7, #bccbe1, #d2dceb, #e8eef5

## Shades

#2b5798, #244b84, #1d3e70, #16335c, #10274a, #0a1c38, #051227, #020817, #010308, #000001

## Tones

#2b5798, #315892, #36588c, #3b5985, #3f597f, #445979, #485972, #4c596c, #505965, #54585f

## Harmonies

- Complementary: #2b5798, #7a4e00
- Split: #2b5798, #8a3f0e, #5f5c00
- Analogous: #2b5798, #006289, #564b95
- Triadic: #2b5798, #8e383e, #33671f
- Tetradic: #2b5798, #734082, #7a4e00, #33671f
- Square: #2b5798, #853963, #7a4e00, #006c4c
- Monochromatic: #2b5798, #00134f, #073573, #4d7bbf, #70a0e7

## Questions about #2b5798

### What color is #2b5798?

#2b5798 is soft dark blue. The closest named color is Cyan Cobalt Blue. In RGB it is rgb(43, 87, 152), in HSL hsl(215.78, 55.9%, 38.24%) and in OKLCH oklch(46.001% 0.11682 258.181).

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

The complementary color of #2b5798 is #7a4e00. For a calmer combination use the analogous colors #006289 and #564b95. The triadic partners are #8e383e and #33671f.

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

White text reads better on #2b5798: 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 #2b5798 a warm or cool color?

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