# #2c4c87 color: Night Mode

#2c4c87 is rgb(44, 76, 135) in RGB and oklch(42.359% 0.10537 261.545) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2c4c87 |
| RGB | rgb(44, 76, 135) |
| HSL | hsl(218.9, 50.84%, 35.1%) |
| HSB / HSV | hsv(218.9 67.41% 52.94%) |
| HWB | hwb(218.9 17.25% 47.06%) |
| CMYK | cmyk(67% 44% 0% 47%) |
| Lab | lab(32.28 3.87 -37.24) |
| LCH | lch(32.28 37.44 275.94) |
| OKLab | oklab(42.359% -0.01549 -0.10422) |
| OKLCH | oklch(42.359% 0.10537 261.545) |
| Display P3 | color(display-p3 0.20141 0.29484 0.51299) |
| Rec. 2020 | color(rec2020 0.18647 0.23493 0.46113) |
| Adobe RGB | color(a98-rgb 0.22767 0.30281 0.51791) |
| ProPhoto RGB | color(prophoto-rgb 0.23049 0.2326 0.42969) |
| Linear sRGB | color(srgb-linear 0.02519 0.07227 0.24228) |
| XYZ D65 | color(xyz-d65 0.07996 0.07453 0.2394) |
| XYZ D50 | color(xyz-d50 0.07348 0.0721 0.18038) |
| SwiftUI | Color(red: 0.173, green: 0.298, blue: 0.529) |
| UIKit | UIColor(red: 0.173, green: 0.298, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2C4C87) |
| Android XML | #2C4C87 |

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

## Tints

#2c4c87, #3f5d93, #536ea0, #6780ac, #7b91b8, #90a3c4, #a5b5d0, #bbc7dc, #d1d9e7, #e8ecf3

## Shades

#2c4c87, #254175, #1e3663, #172c51, #112241, #0a1831, #050f21, #020613, #010206, #000001

## Tones

#2c4c87, #304d81, #334d7c, #374e76, #3b4e71, #3e4e6b, #414e65, #454e60, #484e5a, #4b4e54

## Harmonies

- Complementary: #2c4c87, #6b4600
- Split: #2c4c87, #793a07, #515300
- Analogous: #2c4c87, #00567d, #504182
- Triadic: #2c4c87, #7e3234, #285c21
- Tetradic: #2c4c87, #683870, #6b4600, #285c21
- Square: #2c4c87, #773254, #6b4600, #005f47
- Monochromatic: #2c4c87, #000840, #0d2b63, #4c6fad, #6f93d4

## Questions about #2c4c87

### What color is #2c4c87?

#2c4c87 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(44, 76, 135), in HSL hsl(218.9, 50.84%, 35.1%) and in OKLCH oklch(42.359% 0.10537 261.545).

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

The complementary color of #2c4c87 is #6b4600. For a calmer combination use the analogous colors #00567d and #504182. The triadic partners are #7e3234 and #285c21.

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

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

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

#2c4c87 is a cool color. In OKLCH its hue is 262 degrees, its lightness 42.4% and its chroma 0.105.
