# #0c4171 color: Ashenvale Nights

#0c4171 is rgb(12, 65, 113) in RGB and oklch(36.986% 0.09786 250.997) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0c4171

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c4171 |
| RGB | rgb(12, 65, 113) |
| HSL | hsl(208.51, 80.8%, 24.51%) |
| HSB / HSV | hsv(208.51 89.38% 44.31%) |
| HWB | hwb(208.51 4.71% 55.69%) |
| CMYK | cmyk(89% 42% 0% 56%) |
| Lab | lab(26.37 -1.82 -33.03) |
| LCH | lch(26.37 33.08 266.84) |
| OKLab | oklab(36.986% -0.03186 -0.09253) |
| OKLCH | oklch(36.986% 0.09786 250.997) |
| Display P3 | color(display-p3 0.11442 0.25088 0.42918) |
| Rec. 2020 | color(rec2020 0.1166 0.18812 0.37246) |
| Adobe RGB | color(a98-rgb 0.15966 0.26266 0.43525) |
| ProPhoto RGB | color(prophoto-rgb 0.17323 0.1918 0.34752) |
| Linear sRGB | color(srgb-linear 0.00368 0.05286 0.16513) |
| XYZ D65 | color(xyz-d65 0.05022 0.05051 0.16334) |
| XYZ D50 | color(xyz-d50 0.04559 0.04872 0.1231) |
| SwiftUI | Color(red: 0.047, green: 0.255, blue: 0.443) |
| UIKit | UIColor(red: 0.047, green: 0.255, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF0C4171) |
| Android XML | #0C4171 |

## Facts

- Closest name: Ashenvale Nights
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.45:1
- Contrast with black: 2.01:1

## Tints

#0c4171, #28537f, #3f658d, #56779b, #6d8aa9, #849cb8, #9cb0c6, #b4c3d4, #ccd7e2, #e5ebf1

## Shades

#0c4171, #093761, #062e52, #042543, #031c35, #021327, #010b1a, #00050e, #000104, #000001

## Tones

#0c4171, #15416c, #1c4267, #224263, #27425e, #2c4259, #304154, #34414f, #38414a, #3c4045

## Harmonies

- Complementary: #0c4171, #5f3400
- Split: #0c4171, #692a10, #4b4000
- Analogous: #0c4171, #004960, #383771
- Triadic: #0c4171, #692533, #2c4904
- Tetradic: #0c4171, #502e65, #5f3400, #2c4904
- Square: #0c4171, #60274f, #5f3400, #004f2e
- Monochromatic: #0c4171, #000426, #00204e, #326396, #5587bc

## Questions about #0c4171

### What color is #0c4171?

#0c4171 is deep dark blue. The closest named color is Ashenvale Nights. In RGB it is rgb(12, 65, 113), in HSL hsl(208.51, 80.8%, 24.51%) and in OKLCH oklch(36.986% 0.09786 250.997).

### What colors go well with #0c4171?

The complementary color of #0c4171 is #5f3400. For a calmer combination use the analogous colors #004960 and #383771. The triadic partners are #692533 and #2c4904.

### Is white or black text more readable on #0c4171?

White text reads better on #0c4171: white gives a contrast ratio of 10.45:1 and black gives 2.01:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0c4171 a warm or cool color?

#0c4171 is a cool color. In OKLCH its hue is 251 degrees, its lightness 37% and its chroma 0.098.
