# #2a4d86 color: Night Mode

#2a4d86 is rgb(42, 77, 134) in RGB and oklch(42.427% 0.10344 259.679) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4d86 |
| RGB | rgb(42, 77, 134) |
| HSL | hsl(217.17, 52.27%, 34.51%) |
| HSB / HSV | hsv(217.17 68.66% 52.55%) |
| HWB | hwb(217.17 16.47% 47.45%) |
| CMYK | cmyk(69% 43% 0% 47%) |
| Lab | lab(32.44 2.53 -36.38) |
| LCH | lch(32.44 36.47 273.98) |
| OKLab | oklab(42.427% -0.01853 -0.10176) |
| OKLCH | oklch(42.427% 0.10344 259.679) |
| Display P3 | color(display-p3 0.19713 0.29854 0.50939) |
| Rec. 2020 | color(rec2020 0.1844 0.2383 0.45735) |
| Adobe RGB | color(a98-rgb 0.22524 0.30648 0.51425) |
| ProPhoto RGB | color(prophoto-rgb 0.22872 0.23507 0.42622) |
| Linear sRGB | color(srgb-linear 0.02315 0.07421 0.2384) |
| XYZ D65 | color(xyz-d65 0.07911 0.07521 0.2359) |
| XYZ D50 | color(xyz-d50 0.07279 0.07281 0.17777) |
| SwiftUI | Color(red: 0.165, green: 0.302, blue: 0.525) |
| UIKit | UIColor(red: 0.165, green: 0.302, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4D86) |
| Android XML | #2A4D86 |

## 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.39:1
- Contrast with black: 2.5:1

## Tints

#2a4d86, #3e5e92, #516f9f, #6680ab, #7a92b7, #8fa3c3, #a5b5cf, #bbc7db, #d1dae7, #e8ecf3

## Shades

#2a4d86, #234274, #1c3762, #162c51, #102240, #0a1830, #050f21, #020713, #010206, #000001

## Tones

#2a4d86, #2e4e81, #324e7b, #364e76, #3a4f70, #3d4f6b, #414f65, #444f60, #484f5a, #4b4e54

## Harmonies

- Complementary: #2a4d86, #6b4600
- Split: #2a4d86, #7a3a0e, #535200
- Analogous: #2a4d86, #00577b, #4e4282
- Triadic: #2a4d86, #7d3336, #2c5b20
- Tetradic: #2a4d86, #663971, #6b4600, #2c5b20
- Square: #2a4d86, #763356, #6b4600, #005f45
- Monochromatic: #2a4d86, #000a3f, #0a2c62, #4b70ac, #6d94d3

## Questions about #2a4d86

### What color is #2a4d86?

#2a4d86 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(42, 77, 134), in HSL hsl(217.17, 52.27%, 34.51%) and in OKLCH oklch(42.427% 0.10344 259.679).

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

The complementary color of #2a4d86 is #6b4600. For a calmer combination use the analogous colors #00577b and #4e4282. The triadic partners are #7d3336 and #2c5b20.

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

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

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

#2a4d86 is a cool color. In OKLCH its hue is 260 degrees, its lightness 42.4% and its chroma 0.103.
