# #0a2040 color: Midnight Mirage

#0a2040 is rgb(10, 32, 64) in RGB and oklch(24.624% 0.06699 258.061) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0a2040 |
| RGB | rgb(10, 32, 64) |
| HSL | hsl(215.56, 72.97%, 14.51%) |
| HSB / HSV | hsv(215.56 84.38% 25.1%) |
| HWB | hwb(215.56 3.92% 74.9%) |
| CMYK | cmyk(84% 50% 0% 75%) |
| Lab | lab(12.05 1.72 -23.36) |
| LCH | lch(12.05 23.43 274.2) |
| OKLab | oklab(24.624% -0.01386 -0.06554) |
| OKLCH | oklch(24.624% 0.06699 258.061) |
| Display P3 | color(display-p3 0.06159 0.1235 0.24212) |
| Rec. 2020 | color(rec2020 0.03996 0.06333 0.17902) |
| Adobe RGB | color(a98-rgb 0.09974 0.14561 0.25553) |
| ProPhoto RGB | color(prophoto-rgb 0.09178 0.09466 0.18102) |
| Linear sRGB | color(srgb-linear 0.00304 0.01444 0.05127) |
| XYZ D65 | color(xyz-d65 0.01567 0.01468 0.05051) |
| XYZ D50 | color(xyz-d50 0.01422 0.01414 0.03806) |
| SwiftUI | Color(red: 0.039, green: 0.125, blue: 0.251) |
| UIKit | UIColor(red: 0.039, green: 0.125, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF0A2040) |
| Android XML | #0A2040 |

## Facts

- Closest name: Midnight Mirage
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 16.23:1
- Contrast with black: 1.29:1

## Tints

#0a2040, #1f3352, #354864, #4b5c76, #637289, #7b889c, #949faf, #aeb6c3, #c8ced6, #e3e6eb

## Shades

#0a2040, #071a36, #05152d, #030f24, #020a1b, #010613, #01030b, #000105, #000001, #000000

## Tones

#0a2040, #0d203d, #10213a, #122137, #142134, #172131, #19212e, #1b212a, #1d2127, #1f2124

## Harmonies

- Complementary: #0a2040, #321b00
- Split: #0a2040, #391400, #242200
- Analogous: #0a2040, #002639, #201a3e
- Triadic: #0a2040, #3b1014, #0e2805
- Tetradic: #0a2040, #2e1535, #321b00, #0e2805
- Square: #0a2040, #371126, #321b00, #002a1a
- Monochromatic: #0a2040, #00031f, #000420, #283f62, #476085

## Questions about #0a2040

### What color is #0a2040?

#0a2040 is soft very dark blue. The closest named color is Midnight Mirage. In RGB it is rgb(10, 32, 64), in HSL hsl(215.56, 72.97%, 14.51%) and in OKLCH oklch(24.624% 0.06699 258.061).

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

The complementary color of #0a2040 is #321b00. For a calmer combination use the analogous colors #002639 and #201a3e. The triadic partners are #3b1014 and #0e2805.

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

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

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

#0a2040 is a cool color. In OKLCH its hue is 258 degrees, its lightness 24.6% and its chroma 0.067.
