# #0a1238 color: Infinite Night

#0a1238 is rgb(10, 18, 56) in RGB and oklch(20.324% 0.07455 269.526) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0a1238

## Formats

| Format | Value |
| --- | --- |
| HEX | #0a1238 |
| RGB | rgb(10, 18, 56) |
| HSL | hsl(229.57, 69.7%, 12.94%) |
| HSB / HSV | hsv(229.57 82.14% 21.96%) |
| HWB | hwb(229.57 3.92% 78.04%) |
| CMYK | cmyk(82% 68% 0% 78%) |
| Lab | lab(6.69 8.66 -26.29) |
| LCH | lch(6.69 27.68 288.23) |
| OKLab | oklab(20.324% -0.00062 -0.07455) |
| OKLCH | oklch(20.324% 0.07455 269.526) |
| Display P3 | color(display-p3 0.04582 0.06972 0.21058) |
| Rec. 2020 | color(rec2020 0.02524 0.028 0.14699) |
| Adobe RGB | color(a98-rgb 0.08023 0.09802 0.22651) |
| ProPhoto RGB | color(prophoto-rgb 0.07375 0.06196 0.15526) |
| Linear sRGB | color(srgb-linear 0.00304 0.00605 0.03955) |
| XYZ D65 | color(xyz-d65 0.01055 0.00783 0.03837) |
| XYZ D50 | color(xyz-d50 0.00931 0.00741 0.02887) |
| SwiftUI | Color(red: 0.039, green: 0.071, blue: 0.22) |
| UIKit | UIColor(red: 0.039, green: 0.071, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF0A1238) |
| Android XML | #0A1238 |

## 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.16:1
- Contrast with black: 1.16:1

## Tints

#0a1238, #1c274b, #313c5d, #475270, #5f6984, #788098, #9198ac, #acb1c0, #c7cbd5, #e2e4ea

## Shades

#0a1238, #070e2f, #050a27, #03071f, #020417, #01020f, #010108, #000104, #000001, #000000

## Tones

#0a1238, #0b1335, #0c1432, #0d152e, #0f152b, #101628, #111624, #131621, #14171e, #15171a

## Harmonies

- Complementary: #0a1238, #211400
- Split: #0a1238, #2c0b00, #141a00
- Analogous: #0a1238, #001934, #1c0b33
- Triadic: #0a1238, #310302, #001f02
- Tetradic: #0a1238, #280627, #211400, #001f02
- Square: #0a1238, #2f0316, #211400, #001f17
- Monochromatic: #0a1238, #010122, #010122, #25315a, #43517d

## Questions about #0a1238

### What color is #0a1238?

#0a1238 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(10, 18, 56), in HSL hsl(229.57, 69.7%, 12.94%) and in OKLCH oklch(20.324% 0.07455 269.526).

### What colors go well with #0a1238?

The complementary color of #0a1238 is #211400. For a calmer combination use the analogous colors #001934 and #1c0b33. The triadic partners are #310302 and #001f02.

### Is white or black text more readable on #0a1238?

White text reads better on #0a1238: white gives a contrast ratio of 18.16:1 and black gives 1.16:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0a1238 a warm or cool color?

#0a1238 is a cool color. In OKLCH its hue is 270 degrees, its lightness 20.3% and its chroma 0.075.
