# #031338 color: Infinite Night

#031338 is rgb(3, 19, 56) in RGB and oklch(20.111% 0.07607 262.128) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #031338 |
| RGB | rgb(3, 19, 56) |
| HSL | hsl(221.89, 89.83%, 11.57%) |
| HSB / HSV | hsv(221.89 94.64% 21.96%) |
| HWB | hwb(221.89 1.18% 78.04%) |
| CMYK | cmyk(95% 66% 0% 78%) |
| Lab | lab(6.57 6.28 -26.52) |
| LCH | lch(6.57 27.25 283.32) |
| OKLab | oklab(20.111% -0.01042 -0.07535) |
| OKLCH | oklch(20.111% 0.07607 262.128) |
| Display P3 | color(display-p3 0.02461 0.07296 0.21057) |
| Rec. 2020 | color(rec2020 0.01993 0.02925 0.14701) |
| Adobe RGB | color(a98-rgb 0.06566 0.10136 0.22656) |
| ProPhoto RGB | color(prophoto-rgb 0.0693 0.06296 0.15531) |
| Linear sRGB | color(srgb-linear 0.00091 0.00651 0.03955) |
| XYZ D65 | color(xyz-d65 0.00984 0.00771 0.03838) |
| XYZ D50 | color(xyz-d50 0.00856 0.00727 0.02888) |
| SwiftUI | Color(red: 0.012, green: 0.075, blue: 0.22) |
| UIKit | UIColor(red: 0.012, green: 0.075, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF031338) |
| Android XML | #031338 |

## Facts

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

## Tints

#031338, #16284b, #2c3d5d, #435371, #5b6a84, #748198, #8e99ac, #a9b2c0, #c5cbd5, #e2e5ea

## Shades

#031338, #020f2f, #020b27, #01071f, #010517, #00030f, #000108, #000104, #000001, #000000

## Tones

#031338, #051435, #061531, #08152e, #0a162b, #0d1627, #0f1624, #111621, #13161d, #14161a

## Harmonies

- Complementary: #031338, #231200
- Split: #031338, #2e0700, #181800
- Analogous: #031338, #001a2e, #180c35
- Triadic: #031338, #310206, #001e00
- Tetradic: #031338, #25062a, #231200, #001e00
- Square: #031338, #2d031a, #231200, #001e13
- Monochromatic: #031338, #000122, #000122, #1d325a, #3b527d

## Questions about #031338

### What color is #031338?

#031338 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(3, 19, 56), in HSL hsl(221.89, 89.83%, 11.57%) and in OKLCH oklch(20.111% 0.07607 262.128).

### What colors go well with #031338?

The complementary color of #031338 is #231200. For a calmer combination use the analogous colors #001a2e and #180c35. The triadic partners are #310206 and #001e00.

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

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

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

#031338 is a cool color. In OKLCH its hue is 262 degrees, its lightness 20.1% and its chroma 0.076.
