# #0c173b color: Navy

#0c173b is rgb(12, 23, 59) in RGB and oklch(21.958% 0.0712 267.429) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c173b |
| RGB | rgb(12, 23, 59) |
| HSL | hsl(225.96, 66.2%, 13.92%) |
| HSB / HSV | hsv(225.96 79.66% 23.14%) |
| HWB | hwb(225.96 4.71% 76.86%) |
| CMYK | cmyk(80% 61% 0% 77%) |
| Lab | lab(8.66 6.79 -25.26) |
| LCH | lch(8.66 26.15 285.05) |
| OKLab | oklab(21.958% -0.00319 -0.07113) |
| OKLCH | oklch(21.958% 0.0712 267.429) |
| Display P3 | color(display-p3 0.05649 0.08904 0.22236) |
| Rec. 2020 | color(rec2020 0.0316 0.03883 0.15891) |
| Adobe RGB | color(a98-rgb 0.09046 0.11483 0.23732) |
| ProPhoto RGB | color(prophoto-rgb 0.08132 0.07337 0.16473) |
| Linear sRGB | color(srgb-linear 0.00368 0.00857 0.04374) |
| XYZ D65 | color(xyz-d65 0.01247 0.01007 0.04266) |
| XYZ D50 | color(xyz-d50 0.01116 0.00961 0.03211) |
| SwiftUI | Color(red: 0.047, green: 0.09, blue: 0.231) |
| UIKit | UIColor(red: 0.047, green: 0.09, blue: 0.231, alpha: 1) |
| Flutter / Compose | Color(0xFF0C173B) |
| Android XML | #0C173B |

## Facts

- Closest name: Navy
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 17.48:1
- Contrast with black: 1.2:1

## Tints

#0c173b, #1f2b4d, #344060, #4a5673, #616c86, #7a8399, #939bad, #adb3c1, #c8ccd5, #e3e5ea

## Shades

#0c173b, #091232, #060e29, #040a21, #030619, #020411, #010209, #000104, #000001, #000000

## Tones

#0c173b, #0d1838, #0f1835, #101932, #12192e, #131a2b, #151a28, #161a25, #181a21, #191a1e

## Harmonies

- Complementary: #0c173b, #271700
- Split: #0c173b, #310e00, #191e00
- Analogous: #0c173b, #001d37, #1f1137
- Triadic: #0c173b, #350806, #002304
- Tetradic: #0c173b, #2b0b2b, #271700, #002304
- Square: #0c173b, #32081b, #271700, #00231a
- Monochromatic: #0c173b, #010121, #010121, #27365d, #465680

## Questions about #0c173b

### What color is #0c173b?

#0c173b is soft very dark blue. The closest named color is Navy. In RGB it is rgb(12, 23, 59), in HSL hsl(225.96, 66.2%, 13.92%) and in OKLCH oklch(21.958% 0.0712 267.429).

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

The complementary color of #0c173b is #271700. For a calmer combination use the analogous colors #001d37 and #1f1137. The triadic partners are #350806 and #002304.

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

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

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

#0c173b is a cool color. In OKLCH its hue is 267 degrees, its lightness 22% and its chroma 0.071.
