# Cobalt color: #0047ab

#0047ab is rgb(0, 71, 171) in RGB and oklch(42.842% 0.17202 259.702) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/colors/cobalt

## Formats

| Format | Value |
| --- | --- |
| HEX | #0047ab |
| RGB | rgb(0, 71, 171) |
| HSL | hsl(215.09, 100%, 33.53%) |
| HSB / HSV | hsv(215.09 100% 67.06%) |
| HWB | hwb(215.09 0% 32.94%) |
| CMYK | cmyk(100% 58% 0% 33%) |
| Lab | lab(31.77 14.43 -59.89) |
| LCH | lch(31.77 61.6 283.54) |
| OKLab | oklab(42.842% -0.03075 -0.16924) |
| OKLCH | oklch(42.842% 0.17202 259.702) |
| Display P3 | color(display-p3 0.10726 0.27377 0.64636) |
| Rec. 2020 | color(rec2020 0.15421 0.21655 0.60369) |
| Adobe RGB | color(a98-rgb 0.16073 0.2845 0.65404) |
| ProPhoto RGB | color(prophoto-rgb 0.24246 0.22184 0.56678) |
| Linear sRGB | color(srgb-linear 0 0.06301 0.40724) |
| XYZ D65 | color(xyz-d65 0.09603 0.07446 0.39461) |
| XYZ D50 | color(xyz-d50 0.08254 0.06986 0.29693) |
| SwiftUI | Color(red: 0, green: 0.278, blue: 0.671) |
| UIKit | UIColor(red: 0, green: 0.278, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF0047AB) |
| Android XML | #0047AB |

## Facts

- Closest name: Cobalt
- Hue family: Blue, deep dark blue
- Closest Tailwind class: blue-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.44:1
- Contrast with black: 2.49:1

## Tints

#0047ab, #235bb5, #3c6dbe, #5480c7, #6b92d0, #83a4d9, #9bb6e1, #b3c8e9, #ccdaf1, #e5edf8

## Shades

#0047ab, #003d94, #00327e, #002868, #001f54, #001640, #000d2d, #00061b, #00020b, #000001

## Tones

#0047ab, #1049a2, #1b4b99, #244d90, #2b4e87, #324f7e, #385075, #3f506c, #445063, #4a5059

## Harmonies

- Complementary: #0047ab, #6e4600
- Split: #0047ab, #872f00, #545300
- Analogous: #0047ab, #00587e, #5233a5
- Triadic: #0047ab, #970025, #006200
- Tetradic: #0047ab, #762188, #6e4600, #006200
- Square: #0047ab, #8d0b5d, #6e4600, #006146
- Monochromatic: #0047ab, #000054, #002084, #2c6cd3, #5192fd

## Questions about Cobalt

### What is the hex code for Cobalt?

The hex code for Cobalt is #0047ab. In RGB it is rgb(0, 71, 171), in HSL hsl(215.09, 100%, 33.53%) and in OKLCH oklch(42.842% 0.17202 259.702).

### What colors go well with Cobalt?

Its complementary color is #6e4600. For a calmer look, pair it with the analogous colors #00587e and #5233a5. Ready palettes with Cobalt are shown on this page.

### Is Cobalt a warm or cool color?

Cobalt is a cool color with an OKLCH hue of 260 degrees.

### What text color is readable on Cobalt?

White text is more readable on Cobalt: white gives a contrast ratio of 8.44:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.
