# #031540 color: Navy

#031540 is rgb(3, 21, 64) in RGB and oklch(21.444% 0.08596 262.513) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/031540

## Formats

| Format | Value |
| --- | --- |
| HEX | #031540 |
| RGB | rgb(3, 21, 64) |
| HSL | hsl(222.3, 91.04%, 13.14%) |
| HSB / HSV | hsv(222.3 95.31% 25.1%) |
| HWB | hwb(222.3 1.18% 74.9%) |
| CMYK | cmyk(95% 67% 0% 75%) |
| Lab | lab(7.85 8.46 -30.17) |
| LCH | lch(7.85 31.33 285.67) |
| OKLab | oklab(21.444% -0.0112 -0.08523) |
| OKLCH | oklch(21.444% 0.08596 262.513) |
| Display P3 | color(display-p3 0.02688 0.08067 0.24072) |
| Rec. 2020 | color(rec2020 0.02368 0.03394 0.1773) |
| Adobe RGB | color(a98-rgb 0.06892 0.10808 0.25486) |
| ProPhoto RGB | color(prophoto-rgb 0.07813 0.0688 0.17915) |
| Linear sRGB | color(srgb-linear 0.00091 0.0075 0.05127) |
| XYZ D65 | color(xyz-d65 0.01231 0.00926 0.04964) |
| XYZ D50 | color(xyz-d50 0.01062 0.00869 0.03735) |
| SwiftUI | Color(red: 0.012, green: 0.082, blue: 0.251) |
| UIKit | UIColor(red: 0.012, green: 0.082, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF031540) |
| Android XML | #031540 |

## Facts

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

## Tints

#031540, #162a52, #2c3f65, #435577, #5b6c8a, #75839d, #8f9bb0, #aab3c3, #c5ccd7, #e2e5eb

## Shades

#031540, #021136, #020c2d, #010824, #01051b, #000313, #00020b, #000105, #000001, #000000

## Tones

#031540, #05163c, #071738, #091835, #0c1831, #0e192d, #111929, #131925, #151921, #17191d

## Harmonies

- Complementary: #031540, #271500
- Split: #031540, #330900, #1a1c00
- Analogous: #031540, #001d33, #1c0d3c
- Triadic: #031540, #380005, #002200
- Tetradic: #031540, #2b0630, #271500, #002200
- Square: #031540, #34011d, #271500, #002216
- Monochromatic: #031540, #000026, #000026, #1d3562, #3c5686

## Questions about #031540

### What color is #031540?

#031540 is deep very dark blue. The closest named color is Navy. In RGB it is rgb(3, 21, 64), in HSL hsl(222.3, 91.04%, 13.14%) and in OKLCH oklch(21.444% 0.08596 262.513).

### What colors go well with #031540?

The complementary color of #031540 is #271500. For a calmer combination use the analogous colors #001d33 and #1c0d3c. The triadic partners are #380005 and #002200.

### Is white or black text more readable on #031540?

White text reads better on #031540: white gives a contrast ratio of 17.72:1 and black gives 1.19:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #031540 a warm or cool color?

#031540 is a cool color. In OKLCH its hue is 263 degrees, its lightness 21.4% and its chroma 0.086.
