# #1a1a40 color: Nightwalker

#1a1a40 is rgb(26, 26, 64) in RGB and oklch(24.194% 0.07047 279.752) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1a1a40

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a1a40 |
| RGB | rgb(26, 26, 64) |
| HSL | hsl(240, 42.22%, 17.65%) |
| HSB / HSV | hsv(240 59.38% 25.1%) |
| HWB | hwb(240 10.2% 74.9%) |
| CMYK | cmyk(59% 59% 0% 75%) |
| Lab | lab(11.14 10.05 -24.74) |
| LCH | lch(11.14 26.7 292.11) |
| OKLab | oklab(24.194% 0.01194 -0.06945) |
| OKLCH | oklch(24.194% 0.07047 279.752) |
| Display P3 | color(display-p3 0.10196 0.10196 0.24167) |
| Rec. 2020 | color(rec2020 0.05446 0.04858 0.17838) |
| Adobe RGB | color(a98-rgb 0.12502 0.12502 0.25513) |
| ProPhoto RGB | color(prophoto-rgb 0.10082 0.08361 0.18023) |
| Linear sRGB | color(srgb-linear 0.01033 0.01033 0.05127) |
| XYZ D65 | color(xyz-d65 0.01721 0.01329 0.05016) |
| XYZ D50 | color(xyz-d50 0.01582 0.01281 0.03776) |
| SwiftUI | Color(red: 0.102, green: 0.102, blue: 0.251) |
| UIKit | UIColor(red: 0.102, green: 0.102, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFF1A1A40) |
| Android XML | #1A1A40 |

## Facts

- Closest name: Nightwalker
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 16.59:1
- Contrast with black: 1.27:1

## Tints

#1a1a40, #2c2e52, #404364, #555876, #6b6e89, #82859c, #999caf, #b2b4c3, #cbccd7, #e5e5eb

## Shades

#1a1a40, #151536, #10102d, #0c0c24, #07071b, #040413, #02020b, #010105, #000001, #000000

## Tones

#1a1a40, #1a1b3d, #1b1c3a, #1b1d37, #1c1d33, #1c1e30, #1d1e2d, #1e1f2a, #1e1f26, #1f1f23

## Harmonies

- Complementary: #1a1a40, #281f00
- Split: #1a1a40, #341700, #142600
- Analogous: #1a1a40, #00203f, #2a1438
- Triadic: #1a1a40, #3a1002, #002913
- Tetradic: #1a1a40, #340f2a, #281f00, #002913
- Square: #1a1a40, #3a0d18, #281f00, #002826
- Monochromatic: #1a1a40, #040020, #040120, #363962, #565a85

## Questions about #1a1a40

### What color is #1a1a40?

#1a1a40 is soft very dark indigo. The closest named color is Nightwalker. In RGB it is rgb(26, 26, 64), in HSL hsl(240, 42.22%, 17.65%) and in OKLCH oklch(24.194% 0.07047 279.752).

### What colors go well with #1a1a40?

The complementary color of #1a1a40 is #281f00. For a calmer combination use the analogous colors #00203f and #2a1438. The triadic partners are #3a1002 and #002913.

### Is white or black text more readable on #1a1a40?

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

### Is #1a1a40 a warm or cool color?

#1a1a40 is a cool color. In OKLCH its hue is 280 degrees, its lightness 24.2% and its chroma 0.07.
