# #031236 color: Infinite Night

#031236 is rgb(3, 18, 54) in RGB and oklch(19.65% 0.0743 262.381) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #031236 |
| RGB | rgb(3, 18, 54) |
| HSL | hsl(222.35, 89.47%, 11.18%) |
| HSB / HSV | hsv(222.35 94.44% 21.18%) |
| HWB | hwb(222.35 1.18% 78.82%) |
| CMYK | cmyk(94% 67% 0% 79%) |
| Lab | lab(6.12 5.94 -25.79) |
| LCH | lch(6.12 26.46 282.98) |
| OKLab | oklab(19.65% -0.00985 -0.07365) |
| OKLCH | oklch(19.65% 0.0743 262.381) |
| Display P3 | color(display-p3 0.02355 0.0691 0.20298) |
| Rec. 2020 | color(rec2020 0.01872 0.0272 0.13942) |
| Adobe RGB | color(a98-rgb 0.06407 0.09802 0.21951) |
| ProPhoto RGB | color(prophoto-rgb 0.06679 0.06049 0.14942) |
| Linear sRGB | color(srgb-linear 0.00091 0.00605 0.03689) |
| XYZ D65 | color(xyz-d65 0.0092 0.00718 0.0358) |
| XYZ D50 | color(xyz-d50 0.008 0.00678 0.02694) |
| SwiftUI | Color(red: 0.012, green: 0.071, blue: 0.212) |
| UIKit | UIColor(red: 0.012, green: 0.071, blue: 0.212, alpha: 1) |
| Flutter / Compose | Color(0xFF031236) |
| Android XML | #031236 |

## 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.36:1
- Contrast with black: 1.14:1

## Tints

#031236, #152749, #2b3c5c, #42526f, #5b6983, #748097, #8e98ab, #a9b1bf, #c5cbd4, #e2e4ea

## Shades

#031236, #020e2e, #020a25, #01071e, #010416, #00020f, #000108, #000103, #000001, #000000

## Tones

#031236, #041333, #061430, #08142c, #0a1529, #0c1526, #0e1523, #10151f, #12151c, #131519

## Harmonies

- Complementary: #031236, #221100
- Split: #031236, #2d0700, #161700
- Analogous: #031236, #00192d, #170b33
- Triadic: #031236, #2f0205, #001d00
- Tetradic: #031236, #240628, #221100, #001d00
- Square: #031236, #2c0218, #221100, #001d12
- Monochromatic: #031236, #000222, #000222, #1d3157, #3b517b

## Questions about #031236

### What color is #031236?

#031236 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(3, 18, 54), in HSL hsl(222.35, 89.47%, 11.18%) and in OKLCH oklch(19.65% 0.0743 262.381).

### What colors go well with #031236?

The complementary color of #031236 is #221100. For a calmer combination use the analogous colors #00192d and #170b33. The triadic partners are #2f0205 and #001d00.

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

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

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

#031236 is a cool color. In OKLCH its hue is 262 degrees, its lightness 19.7% and its chroma 0.074.
