# #2d5291 color: Nightly Activities

#2d5291 is rgb(45, 82, 145) in RGB and oklch(44.468% 0.11213 260.352) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d5291 |
| RGB | rgb(45, 82, 145) |
| HSL | hsl(217.8, 52.63%, 37.25%) |
| HSB / HSV | hsv(217.8 68.97% 56.86%) |
| HWB | hwb(217.8 17.65% 43.14%) |
| CMYK | cmyk(69% 43% 0% 43%) |
| Lab | lab(34.7 3.51 -39.48) |
| LCH | lch(34.7 39.64 275.08) |
| OKLab | oklab(44.468% -0.01879 -0.11054) |
| OKLCH | oklch(44.468% 0.11213 260.352) |
| Display P3 | color(display-p3 0.21078 0.31796 0.55105) |
| Rec. 2020 | color(rec2020 0.2024 0.25863 0.50179) |
| Adobe RGB | color(a98-rgb 0.23863 0.3249 0.55595) |
| ProPhoto RGB | color(prophoto-rgb 0.24844 0.25299 0.46849) |
| Linear sRGB | color(srgb-linear 0.02624 0.08438 0.28315) |
| XYZ D65 | color(xyz-d65 0.0921 0.08636 0.27971) |
| XYZ D50 | color(xyz-d50 0.08445 0.08349 0.21075) |
| SwiftUI | Color(red: 0.176, green: 0.322, blue: 0.569) |
| UIKit | UIColor(red: 0.176, green: 0.322, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF2D5291) |
| Android XML | #2D5291 |

## Facts

- Closest name: Nightly Activities
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.7:1
- Contrast with black: 2.73:1

## Tints

#2d5291, #41639c, #5473a8, #6884b3, #7d95be, #91a6c9, #a6b8d4, #bcc9df, #d2dbea, #e8edf4

## Shades

#2d5291, #26467d, #1f3b6a, #182f58, #112546, #0b1a35, #061125, #020815, #010207, #000001

## Tones

#2d5291, #31538b, #365385, #3a547f, #3e5479, #425473, #45546d, #495467, #4d5461, #50545a

## Harmonies

- Complementary: #2d5291, #734b00
- Split: #2d5291, #833d08, #585800
- Analogous: #2d5291, #005d85, #54468d
- Triadic: #2d5291, #873539, #2d6221
- Tetradic: #2d5291, #6f3c79, #734b00, #2d6221
- Square: #2d5291, #80365c, #734b00, #00664b
- Monochromatic: #2d5291, #000e49, #0d306c, #4e75b7, #719adf

## Questions about #2d5291

### What color is #2d5291?

#2d5291 is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(45, 82, 145), in HSL hsl(217.8, 52.63%, 37.25%) and in OKLCH oklch(44.468% 0.11213 260.352).

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

The complementary color of #2d5291 is #734b00. For a calmer combination use the analogous colors #005d85 and #54468d. The triadic partners are #873539 and #2d6221.

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

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

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

#2d5291 is a cool color. In OKLCH its hue is 260 degrees, its lightness 44.5% and its chroma 0.112.
