# #2a4d87 color: Night Mode

#2a4d87 is rgb(42, 77, 135) in RGB and oklch(42.494% 0.1049 259.947) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4d87 |
| RGB | rgb(42, 77, 135) |
| HSL | hsl(217.42, 52.54%, 34.71%) |
| HSB / HSV | hsv(217.42 68.89% 52.94%) |
| HWB | hwb(217.42 16.47% 47.06%) |
| CMYK | cmyk(69% 43% 0% 47%) |
| Lab | lab(32.49 2.84 -36.92) |
| LCH | lch(32.49 37.02 274.4) |
| OKLab | oklab(42.494% -0.01831 -0.10329) |
| OKLCH | oklch(42.494% 0.1049 259.947) |
| Display P3 | color(display-p3 0.19713 0.29854 0.5131) |
| Rec. 2020 | color(rec2020 0.18484 0.2384 0.46128) |
| Adobe RGB | color(a98-rgb 0.22524 0.30648 0.51799) |
| ProPhoto RGB | color(prophoto-rgb 0.22971 0.23526 0.4299) |
| Linear sRGB | color(srgb-linear 0.02315 0.07421 0.24228) |
| XYZ D65 | color(xyz-d65 0.07981 0.07549 0.23959) |
| XYZ D50 | color(xyz-d50 0.07335 0.07304 0.18054) |
| SwiftUI | Color(red: 0.165, green: 0.302, blue: 0.529) |
| UIKit | UIColor(red: 0.165, green: 0.302, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4D87) |
| Android XML | #2A4D87 |

## 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.37:1
- Contrast with black: 2.51:1

## Tints

#2a4d87, #3e5e93, #516f9f, #6680ac, #7a92b8, #8fa3c4, #a5b5d0, #bbc7dc, #d1dae7, #e8ecf3

## Shades

#2a4d87, #234275, #1c3763, #162c51, #102241, #0a1831, #050f21, #020713, #010206, #000001

## Tones

#2a4d87, #2e4e82, #324e7c, #364e76, #3a4f71, #3d4f6b, #414f66, #444f60, #484f5a, #4b4f54

## Harmonies

- Complementary: #2a4d87, #6c4600
- Split: #2a4d87, #7a3a0c, #535200
- Analogous: #2a4d87, #00577c, #4f4283
- Triadic: #2a4d87, #7e3236, #2b5c20
- Tetradic: #2a4d87, #673972, #6c4600, #2b5c20
- Square: #2a4d87, #773356, #6c4600, #006045
- Monochromatic: #2a4d87, #000a40, #0a2c63, #4b70ad, #6d94d4

## Questions about #2a4d87

### What color is #2a4d87?

#2a4d87 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(42, 77, 135), in HSL hsl(217.42, 52.54%, 34.71%) and in OKLCH oklch(42.494% 0.1049 259.947).

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

The complementary color of #2a4d87 is #6c4600. For a calmer combination use the analogous colors #00577c and #4f4283. The triadic partners are #7e3236 and #2b5c20.

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

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

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

#2a4d87 is a cool color. In OKLCH its hue is 260 degrees, its lightness 42.5% and its chroma 0.105.
