# #031238 color: Infinite Night

#031238 is rgb(3, 18, 56) in RGB and oklch(19.86% 0.07758 262.819) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #031238 |
| RGB | rgb(3, 18, 56) |
| HSL | hsl(223.02, 89.83%, 11.57%) |
| HSB / HSV | hsv(223.02 94.64% 21.96%) |
| HWB | hwb(223.02 1.18% 78.04%) |
| CMYK | cmyk(95% 68% 0% 78%) |
| Lab | lab(6.27 6.85 -27) |
| LCH | lch(6.27 27.86 284.23) |
| OKLab | oklab(19.86% -0.0097 -0.07697) |
| OKLCH | oklch(19.86% 0.07758 262.819) |
| Display P3 | color(display-p3 0.02355 0.0691 0.21047) |
| Rec. 2020 | color(rec2020 0.01924 0.02733 0.14689) |
| Adobe RGB | color(a98-rgb 0.06407 0.09802 0.22651) |
| ProPhoto RGB | color(prophoto-rgb 0.06858 0.06088 0.15518) |
| Linear sRGB | color(srgb-linear 0.00091 0.00605 0.03955) |
| XYZ D65 | color(xyz-d65 0.00968 0.00737 0.03833) |
| XYZ D50 | color(xyz-d50 0.00839 0.00694 0.02884) |
| SwiftUI | Color(red: 0.012, green: 0.071, blue: 0.22) |
| UIKit | UIColor(red: 0.012, green: 0.071, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF031238) |
| Android XML | #031238 |

## 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.3:1
- Contrast with black: 1.15:1

## Tints

#031238, #15274b, #2b3c5d, #425271, #5a6984, #748098, #8e99ac, #a9b1c0, #c5cbd5, #e2e5ea

## Shades

#031238, #020e2f, #020a27, #01071f, #010417, #00020f, #000108, #000104, #000001, #000000

## Tones

#031238, #041335, #061431, #08142e, #0a152b, #0c1527, #0e1624, #101620, #12161d, #141619

## Harmonies

- Complementary: #031238, #221200
- Split: #031238, #2d0700, #171800
- Analogous: #031238, #00192e, #180b35
- Triadic: #031238, #310104, #001d00
- Tetradic: #031238, #250529, #221200, #001d00
- Square: #031238, #2d0219, #221200, #001e13
- Monochromatic: #031238, #000123, #000123, #1d315a, #3b517d

## Questions about #031238

### What color is #031238?

#031238 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(3, 18, 56), in HSL hsl(223.02, 89.83%, 11.57%) and in OKLCH oklch(19.86% 0.07758 262.819).

### What colors go well with #031238?

The complementary color of #031238 is #221200. For a calmer combination use the analogous colors #00192e and #180b35. The triadic partners are #310104 and #001d00.

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

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

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

#031238 is a cool color. In OKLCH its hue is 263 degrees, its lightness 19.9% and its chroma 0.078.
