# #04123a color: Infinite Night

#04123a is rgb(4, 18, 58) in RGB and oklch(20.141% 0.08032 264.132) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/04123a

## Formats

| Format | Value |
| --- | --- |
| HEX | #04123a |
| RGB | rgb(4, 18, 58) |
| HSL | hsl(224.44, 87.1%, 12.16%) |
| HSB / HSV | hsv(224.44 93.1% 22.75%) |
| HWB | hwb(224.44 1.57% 77.25%) |
| CMYK | cmyk(93% 69% 0% 77%) |
| Lab | lab(6.48 8.04 -28.1) |
| LCH | lch(6.48 29.23 285.98) |
| OKLab | oklab(20.141% -0.00821 -0.0799) |
| OKLCH | oklch(20.141% 0.08032 264.132) |
| Display P3 | color(display-p3 0.02678 0.06919 0.21797) |
| Rec. 2020 | color(rec2020 0.02064 0.02757 0.15439) |
| Adobe RGB | color(a98-rgb 0.06667 0.09802 0.23353) |
| ProPhoto RGB | color(prophoto-rgb 0.07114 0.06144 0.161) |
| Linear sRGB | color(srgb-linear 0.00121 0.00605 0.04231) |
| XYZ D65 | color(xyz-d65 0.0103 0.00764 0.04096) |
| XYZ D50 | color(xyz-d50 0.00891 0.00717 0.03082) |
| SwiftUI | Color(red: 0.016, green: 0.071, blue: 0.227) |
| UIKit | UIColor(red: 0.016, green: 0.071, blue: 0.227, alpha: 1) |
| Flutter / Compose | Color(0xFF04123A) |
| Android XML | #04123A |

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

## Tints

#04123a, #16274d, #2c3d5f, #435372, #5b6986, #748199, #8e99ad, #a9b1c1, #c5cbd5, #e2e5ea

## Shades

#04123a, #030e31, #020a28, #010720, #010418, #000210, #000109, #000104, #000001, #000000

## Tones

#04123a, #051337, #071433, #091530, #0b152c, #0d1629, #0f1625, #111621, #13161e, #14161a

## Harmonies

- Complementary: #04123a, #231300
- Split: #04123a, #2e0800, #171900
- Analogous: #04123a, #001a30, #1a0a36
- Triadic: #04123a, #320003, #001f00
- Tetradic: #04123a, #27052a, #231300, #001f00
- Square: #04123a, #2f0119, #231300, #001e14
- Monochromatic: #04123a, #000024, #000024, #1e315c, #3c527f

## Questions about #04123a

### What color is #04123a?

#04123a is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(4, 18, 58), in HSL hsl(224.44, 87.1%, 12.16%) and in OKLCH oklch(20.141% 0.08032 264.132).

### What colors go well with #04123a?

The complementary color of #04123a is #231300. For a calmer combination use the analogous colors #001a30 and #1a0a36. The triadic partners are #320003 and #001f00.

### Is white or black text more readable on #04123a?

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

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

#04123a is a cool color. In OKLCH its hue is 264 degrees, its lightness 20.1% and its chroma 0.08.
