# #2a4c88 color: Night Mode

#2a4c88 is rgb(42, 76, 136) in RGB and oklch(42.328% 0.1076 260.879) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4c88 |
| RGB | rgb(42, 76, 136) |
| HSL | hsl(218.3, 52.81%, 34.9%) |
| HSB / HSV | hsv(218.3 69.12% 53.33%) |
| HWB | hwb(218.3 16.47% 46.67%) |
| CMYK | cmyk(69% 44% 0% 47%) |
| Lab | lab(32.23 3.77 -37.94) |
| LCH | lch(32.23 38.12 275.67) |
| OKLab | oklab(42.328% -0.01706 -0.10623) |
| OKLCH | oklch(42.328% 0.1076 260.879) |
| Display P3 | color(display-p3 0.19601 0.2947 0.51667) |
| Rec. 2020 | color(rec2020 0.18362 0.23473 0.46503) |
| Adobe RGB | color(a98-rgb 0.22373 0.30281 0.52166) |
| ProPhoto RGB | color(prophoto-rgb 0.22955 0.23244 0.43334) |
| Linear sRGB | color(srgb-linear 0.02315 0.07227 0.2462) |
| XYZ D65 | color(xyz-d65 0.07983 0.07438 0.24308) |
| XYZ D50 | color(xyz-d50 0.07316 0.07189 0.18315) |
| SwiftUI | Color(red: 0.165, green: 0.298, blue: 0.533) |
| UIKit | UIColor(red: 0.165, green: 0.298, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4C88) |
| Android XML | #2A4C88 |

## 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.44:1
- Contrast with black: 2.49:1

## Tints

#2a4c88, #3e5d94, #516ea0, #6580ac, #7a91b8, #8fa3c4, #a5b5d0, #bbc7dc, #d1dae8, #e8ecf3

## Shades

#2a4c88, #234175, #1c3663, #162c52, #102241, #0a1831, #050f22, #020613, #010206, #000001

## Tones

#2a4c88, #2e4d82, #324d7d, #364e77, #3a4e71, #3d4e6c, #414e66, #444e60, #474e5a, #4b4e54

## Harmonies

- Complementary: #2a4c88, #6b4600
- Split: #2a4c88, #7a3905, #515200
- Analogous: #2a4c88, #00577d, #4f4184
- Triadic: #2a4c88, #7e3134, #285c1f
- Tetradic: #2a4c88, #683771, #6b4600, #285c1f
- Square: #2a4c88, #783155, #6b4600, #005f46
- Monochromatic: #2a4c88, #000840, #0a2b63, #4b6fae, #6d93d5

## Questions about #2a4c88

### What color is #2a4c88?

#2a4c88 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(42, 76, 136), in HSL hsl(218.3, 52.81%, 34.9%) and in OKLCH oklch(42.328% 0.1076 260.879).

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

The complementary color of #2a4c88 is #6b4600. For a calmer combination use the analogous colors #00577d and #4f4184. The triadic partners are #7e3134 and #285c1f.

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

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

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

#2a4c88 is a cool color. In OKLCH its hue is 261 degrees, its lightness 42.3% and its chroma 0.108.
