# #2a508f color: Nightly Activities

#2a508f is rgb(42, 80, 143) in RGB and oklch(43.732% 0.11281 259.948) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a508f |
| RGB | rgb(42, 80, 143) |
| HSL | hsl(217.43, 54.59%, 36.27%) |
| HSB / HSV | hsv(217.43 70.63% 56.08%) |
| HWB | hwb(217.43 16.47% 43.92%) |
| CMYK | cmyk(71% 44% 0% 44%) |
| Lab | lab(33.84 3.51 -39.65) |
| LCH | lch(33.84 39.81 275.06) |
| OKLab | oklab(43.732% -0.01969 -0.11108) |
| OKLCH | oklch(43.732% 0.11281 259.948) |
| Display P3 | color(display-p3 0.20058 0.31007 0.54327) |
| Rec. 2020 | color(rec2020 0.19342 0.25046 0.49344) |
| Adobe RGB | color(a98-rgb 0.22983 0.31752 0.54826) |
| ProPhoto RGB | color(prophoto-rgb 0.24126 0.24596 0.46041) |
| Linear sRGB | color(srgb-linear 0.02315 0.08022 0.27468) |
| XYZ D65 | color(xyz-d65 0.08781 0.08212 0.2711) |
| XYZ D50 | color(xyz-d50 0.08029 0.07931 0.20426) |
| SwiftUI | Color(red: 0.165, green: 0.314, blue: 0.561) |
| UIKit | UIColor(red: 0.165, green: 0.314, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF2A508F) |
| Android XML | #2A508F |

## 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.95:1
- Contrast with black: 2.64:1

## Tints

#2a508f, #3e619b, #5272a6, #6683b2, #7b94bd, #90a5c8, #a5b7d3, #bbc9de, #d1dbe9, #e8edf4

## Shades

#2a508f, #23447c, #1c3969, #162e57, #102445, #0a1a34, #051024, #020715, #010207, #000001

## Tones

#2a508f, #2f5189, #335183, #37527d, #3b5277, #3f5271, #43526b, #475265, #4b525f, #4e5258

## Harmonies

- Complementary: #2a508f, #714900
- Split: #2a508f, #813b05, #565600
- Analogous: #2a508f, #005b82, #52448b
- Triadic: #2a508f, #853337, #2b601e
- Tetradic: #2a508f, #6c3a78, #714900, #2b601e
- Square: #2a508f, #7e335a, #714900, #006448
- Monochromatic: #2a508f, #000b47, #092e6a, #4b73b5, #6e98dd

## Questions about #2a508f

### What color is #2a508f?

#2a508f is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(42, 80, 143), in HSL hsl(217.43, 54.59%, 36.27%) and in OKLCH oklch(43.732% 0.11281 259.948).

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

The complementary color of #2a508f is #714900. For a calmer combination use the analogous colors #005b82 and #52448b. The triadic partners are #853337 and #2b601e.

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

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

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

#2a508f is a cool color. In OKLCH its hue is 260 degrees, its lightness 43.7% and its chroma 0.113.
