# #31579b color: Cyan Cobalt Blue

#31579b is rgb(49, 87, 155) in RGB and oklch(46.469% 0.11889 261.078) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/31579b

## Formats

| Format | Value |
| --- | --- |
| HEX | #31579b |
| RGB | rgb(49, 87, 155) |
| HSL | hsl(218.49, 51.96%, 40%) |
| HSB / HSV | hsv(218.49 68.39% 60.78%) |
| HWB | hwb(218.49 19.22% 39.22%) |
| CMYK | cmyk(68% 44% 0% 39%) |
| Lab | lab(36.93 4.37 -41.93) |
| LCH | lch(36.93 42.16 275.95) |
| OKLab | oklab(46.469% -0.01844 -0.11745) |
| OKLCH | oklch(46.469% 0.11889 261.078) |
| Display P3 | color(display-p3 0.22709 0.33744 0.58901) |
| Rec. 2020 | color(rec2020 0.22168 0.2791 0.54252) |
| Adobe RGB | color(a98-rgb 0.25403 0.3434 0.59413) |
| ProPhoto RGB | color(prophoto-rgb 0.26853 0.27123 0.50792) |
| Linear sRGB | color(srgb-linear 0.03071 0.09531 0.32778) |
| XYZ D65 | color(xyz-d65 0.1059 0.09835 0.32352) |
| XYZ D50 | color(xyz-d50 0.097 0.09503 0.24375) |
| SwiftUI | Color(red: 0.192, green: 0.341, blue: 0.608) |
| UIKit | UIColor(red: 0.192, green: 0.341, blue: 0.608, alpha: 1) |
| Flutter / Compose | Color(0xFF31579B) |
| Android XML | #31579B |

## 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.08:1
- Contrast with black: 2.97:1

## Tints

#31579b, #4467a6, #5878b0, #6b88ba, #7f99c5, #94a9cf, #a8bad8, #bdcbe2, #d3dcec, #e9eef6

## Shades

#31579b, #294b86, #223e72, #1a335e, #13274b, #0c1c39, #061228, #030818, #010309, #000001

## Tones

#31579b, #365895, #3a588e, #3e5988, #425981, #465a7b, #4a5a74, #4e5a6e, #525a67, #565a60

## Harmonies

- Complementary: #31579b, #795000
- Split: #31579b, #8b4104, #5d5e00
- Analogous: #31579b, #00638e, #5b4a96
- Triadic: #31579b, #90393b, #2e6924
- Tetradic: #31579b, #774081, #795000, #2e6924
- Square: #31579b, #893961, #795000, #006d51
- Monochromatic: #31579b, #001251, #113576, #527bc2, #75a0ea

## Questions about #31579b

### What color is #31579b?

#31579b is soft dark blue. The closest named color is Cyan Cobalt Blue. In RGB it is rgb(49, 87, 155), in HSL hsl(218.49, 51.96%, 40%) and in OKLCH oklch(46.469% 0.11889 261.078).

### What colors go well with #31579b?

The complementary color of #31579b is #795000. For a calmer combination use the analogous colors #00638e and #5b4a96. The triadic partners are #90393b and #2e6924.

### Is white or black text more readable on #31579b?

White text reads better on #31579b: white gives a contrast ratio of 7.08:1 and black gives 2.97:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #31579b a warm or cool color?

#31579b is a cool color. In OKLCH its hue is 261 degrees, its lightness 46.5% and its chroma 0.119.
