# #2a4f8e color: Nightly Activities

#2a4f8e is rgb(42, 79, 142) in RGB and oklch(43.433% 0.1126 260.341) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4f8e |
| RGB | rgb(42, 79, 142) |
| HSL | hsl(217.8, 54.35%, 36.08%) |
| HSB / HSV | hsv(217.8 70.42% 55.69%) |
| HWB | hwb(217.8 16.47% 44.31%) |
| CMYK | cmyk(70% 44% 0% 44%) |
| Lab | lab(33.48 3.81 -39.62) |
| LCH | lch(33.48 39.8 275.49) |
| OKLab | oklab(43.433% -0.01889 -0.111) |
| OKLCH | oklch(43.433% 0.1126 260.341) |
| Display P3 | color(display-p3 0.19942 0.30623 0.53941) |
| Rec. 2020 | color(rec2020 0.19129 0.2466 0.48929) |
| Adobe RGB | color(a98-rgb 0.22829 0.31384 0.54442) |
| ProPhoto RGB | color(prophoto-rgb 0.23907 0.24271 0.45642) |
| Linear sRGB | color(srgb-linear 0.02315 0.07819 0.2705) |
| XYZ D65 | color(xyz-d65 0.08633 0.08037 0.26688) |
| XYZ D50 | color(xyz-d50 0.07891 0.0776 0.20108) |
| SwiftUI | Color(red: 0.165, green: 0.31, blue: 0.557) |
| UIKit | UIColor(red: 0.165, green: 0.31, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4F8E) |
| Android XML | #2A4F8E |

## 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: 8.05:1
- Contrast with black: 2.61:1

## Tints

#2a4f8e, #3e609a, #5271a5, #6682b1, #7b93bc, #90a5c8, #a5b6d3, #bbc8de, #d1dae9, #e8edf4

## Shades

#2a4f8e, #23447b, #1c3868, #162e56, #102344, #0a1934, #051024, #020715, #010207, #000001

## Tones

#2a4f8e, #2f5088, #335082, #37517c, #3b5176, #3f5170, #43526a, #465264, #4a515e, #4d5157

## Harmonies

- Complementary: #2a4f8e, #6f4800
- Split: #2a4f8e, #803a03, #555500
- Analogous: #2a4f8e, #005a81, #52438a
- Triadic: #2a4f8e, #843236, #295f1e
- Tetradic: #2a4f8e, #6c3977, #6f4800, #295f1e
- Square: #2a4f8e, #7d3359, #6f4800, #006348
- Monochromatic: #2a4f8e, #000a46, #092d69, #4b72b4, #6e97dc

## Questions about #2a4f8e

### What color is #2a4f8e?

#2a4f8e is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(42, 79, 142), in HSL hsl(217.8, 54.35%, 36.08%) and in OKLCH oklch(43.433% 0.1126 260.341).

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

The complementary color of #2a4f8e is #6f4800. For a calmer combination use the analogous colors #005a81 and #52438a. The triadic partners are #843236 and #295f1e.

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

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

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

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