# #2a518f color: Nightly Activities

#2a518f is rgb(42, 81, 143) in RGB and oklch(43.964% 0.11159 259.312) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a518f |
| RGB | rgb(42, 81, 143) |
| HSL | hsl(216.83, 54.59%, 36.27%) |
| HSB / HSV | hsv(216.83 70.63% 56.08%) |
| HWB | hwb(216.83 16.47% 43.92%) |
| CMYK | cmyk(71% 43% 0% 44%) |
| Lab | lab(34.15 2.9 -39.16) |
| LCH | lch(34.15 39.27 274.24) |
| OKLab | oklab(43.964% -0.02069 -0.10965) |
| OKLCH | oklch(43.964% 0.11159 259.312) |
| Display P3 | color(display-p3 0.20175 0.31392 0.54342) |
| Rec. 2020 | color(rec2020 0.1951 0.25424 0.49363) |
| Adobe RGB | color(a98-rgb 0.23139 0.32121 0.54834) |
| ProPhoto RGB | color(prophoto-rgb 0.24243 0.24901 0.46067) |
| Linear sRGB | color(srgb-linear 0.02315 0.08228 0.27468) |
| XYZ D65 | color(xyz-d65 0.08855 0.0836 0.27134) |
| XYZ D50 | color(xyz-d50 0.08109 0.08079 0.20446) |
| SwiftUI | Color(red: 0.165, green: 0.318, blue: 0.561) |
| UIKit | UIColor(red: 0.165, green: 0.318, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF2A518F) |
| Android XML | #2A518F |

## 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.86:1
- Contrast with black: 2.67:1

## Tints

#2a518f, #3e629b, #5273a6, #6684b2, #7b95bd, #90a6c8, #a5b7d3, #bbc9de, #d1dbe9, #e8edf4

## Shades

#2a518f, #23457c, #1c3a69, #162f57, #102445, #0a1a34, #051024, #020715, #010207, #000001

## Tones

#2a518f, #2f5289, #335283, #38537d, #3c5377, #405371, #44536b, #475365, #4b535f, #4f5359

## Harmonies

- Complementary: #2a518f, #724900
- Split: #2a518f, #813c0a, #585600
- Analogous: #2a518f, #005c82, #52458b
- Triadic: #2a518f, #853439, #2d601f
- Tetradic: #2a518f, #6c3b79, #724900, #2d601f
- Square: #2a518f, #7e355c, #724900, #006548
- Monochromatic: #2a518f, #000d47, #082f6a, #4b74b5, #6e99dd

## Questions about #2a518f

### What color is #2a518f?

#2a518f is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(42, 81, 143), in HSL hsl(216.83, 54.59%, 36.27%) and in OKLCH oklch(43.964% 0.11159 259.312).

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

The complementary color of #2a518f is #724900. For a calmer combination use the analogous colors #005c82 and #52458b. The triadic partners are #853439 and #2d601f.

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

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

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

#2a518f is a cool color. In OKLCH its hue is 259 degrees, its lightness 44% and its chroma 0.112.
