# #2a4e86 color: Night Mode

#2a4e86 is rgb(42, 78, 134) in RGB and oklch(42.662% 0.10222 258.951) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4e86 |
| RGB | rgb(42, 78, 134) |
| HSL | hsl(216.52, 52.27%, 34.51%) |
| HSB / HSV | hsv(216.52 68.66% 52.55%) |
| HWB | hwb(216.52 16.47% 47.45%) |
| CMYK | cmyk(69% 42% 0% 47%) |
| Lab | lab(32.75 1.92 -35.89) |
| LCH | lch(32.75 35.94 273.06) |
| OKLab | oklab(42.662% -0.01959 -0.10033) |
| OKLCH | oklch(42.662% 0.10222 258.951) |
| Display P3 | color(display-p3 0.19827 0.30238 0.50954) |
| Rec. 2020 | color(rec2020 0.18608 0.24208 0.45754) |
| Adobe RGB | color(a98-rgb 0.22676 0.31016 0.51433) |
| ProPhoto RGB | color(prophoto-rgb 0.2299 0.2381 0.42648) |
| Linear sRGB | color(srgb-linear 0.02315 0.07619 0.2384) |
| XYZ D65 | color(xyz-d65 0.07982 0.07662 0.23613) |
| XYZ D50 | color(xyz-d50 0.07355 0.07422 0.17796) |
| SwiftUI | Color(red: 0.165, green: 0.306, blue: 0.525) |
| UIKit | UIColor(red: 0.165, green: 0.306, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4E86) |
| Android XML | #2A4E86 |

## 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.29:1
- Contrast with black: 2.53:1

## Tints

#2a4e86, #3e5f92, #52709f, #6681ab, #7b92b7, #90a4c3, #a5b6cf, #bbc8db, #d1dae7, #e8ecf3

## Shades

#2a4e86, #234374, #1c3862, #162d51, #102340, #0a1930, #050f21, #020713, #010206, #000001

## Tones

#2a4e86, #2e4f81, #324f7b, #364f76, #3a4f71, #3e506b, #415066, #455060, #484f5a, #4c4f55

## Harmonies

- Complementary: #2a4e86, #6c4600
- Split: #2a4e86, #7a3b12, #545200
- Analogous: #2a4e86, #00587b, #4e4383
- Triadic: #2a4e86, #7d3438, #2f5c21
- Tetradic: #2a4e86, #663a72, #6c4600, #2f5c21
- Square: #2a4e86, #763458, #6c4600, #006045
- Monochromatic: #2a4e86, #000b3f, #092d62, #4b71ac, #6d95d3

## Questions about #2a4e86

### What color is #2a4e86?

#2a4e86 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(42, 78, 134), in HSL hsl(216.52, 52.27%, 34.51%) and in OKLCH oklch(42.662% 0.10222 258.951).

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

The complementary color of #2a4e86 is #6c4600. For a calmer combination use the analogous colors #00587b and #4e4383. The triadic partners are #7d3438 and #2f5c21.

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

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

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

#2a4e86 is a cool color. In OKLCH its hue is 259 degrees, its lightness 42.7% and its chroma 0.102.
