# #2a4d84 color: Night Mode

#2a4d84 is rgb(42, 77, 132) in RGB and oklch(42.295% 0.10052 259.112) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2a4d84

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4d84 |
| RGB | rgb(42, 77, 132) |
| HSL | hsl(216.67, 51.72%, 34.12%) |
| HSB / HSV | hsv(216.67 68.18% 51.76%) |
| HWB | hwb(216.67 16.47% 48.24%) |
| CMYK | cmyk(68% 42% 0% 48%) |
| Lab | lab(32.33 1.91 -35.32) |
| LCH | lch(32.33 35.37 273.09) |
| OKLab | oklab(42.295% -0.01899 -0.09871) |
| OKLCH | oklch(42.295% 0.10052 259.112) |
| Display P3 | color(display-p3 0.19713 0.29854 0.50196) |
| Rec. 2020 | color(rec2020 0.18354 0.23812 0.44949) |
| Adobe RGB | color(a98-rgb 0.22524 0.30648 0.50677) |
| ProPhoto RGB | color(prophoto-rgb 0.22677 0.23469 0.41889) |
| Linear sRGB | color(srgb-linear 0.02315 0.07421 0.23074) |
| XYZ D65 | color(xyz-d65 0.07773 0.07466 0.22862) |
| XYZ D50 | color(xyz-d50 0.07169 0.07234 0.1723) |
| SwiftUI | Color(red: 0.165, green: 0.302, blue: 0.518) |
| UIKit | UIColor(red: 0.165, green: 0.302, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4D84) |
| Android XML | #2A4D84 |

## Facts

- Closest name: Night Mode
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.42:1
- Contrast with black: 2.49:1

## Tints

#2a4d84, #3e5e90, #526f9d, #6680a9, #7a92b6, #8fa3c2, #a5b5ce, #bbc7da, #d1dae7, #e8ecf3

## Shades

#2a4d84, #234272, #1c3760, #162c4f, #10223f, #0a182f, #050f20, #020712, #010206, #000001

## Tones

#2a4d84, #2e4e7f, #324e79, #364e74, #3a4e6f, #3d4f6a, #414f64, #444e5f, #474e59, #4b4e53

## Harmonies

- Complementary: #2a4d84, #6b4600
- Split: #2a4d84, #783a12, #535100
- Analogous: #2a4d84, #005779, #4d4381
- Triadic: #2a4d84, #7b3337, #2e5a21
- Tetradic: #2a4d84, #653a70, #6b4600, #2e5a21
- Square: #2a4d84, #753456, #6b4600, #005f44
- Monochromatic: #2a4d84, #000b3d, #092c60, #4b70aa, #6d94d1

## Questions about #2a4d84

### What color is #2a4d84?

#2a4d84 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(42, 77, 132), in HSL hsl(216.67, 51.72%, 34.12%) and in OKLCH oklch(42.295% 0.10052 259.112).

### What colors go well with #2a4d84?

The complementary color of #2a4d84 is #6b4600. For a calmer combination use the analogous colors #005779 and #4d4381. The triadic partners are #7b3337 and #2e5a21.

### Is white or black text more readable on #2a4d84?

White text reads better on #2a4d84: white gives a contrast ratio of 8.42:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2a4d84 a warm or cool color?

#2a4d84 is a cool color. In OKLCH its hue is 259 degrees, its lightness 42.3% and its chroma 0.101.
