# #2a4f7b color: Slumber

#2a4f7b is rgb(42, 79, 123) in RGB and oklch(42.209% 0.08522 253.954) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4f7b |
| RGB | rgb(42, 79, 123) |
| HSL | hsl(212.59, 49.09%, 32.35%) |
| HSB / HSV | hsv(212.59 65.85% 48.24%) |
| HWB | hwb(212.59 16.47% 51.76%) |
| CMYK | cmyk(66% 36% 0% 52%) |
| Lab | lab(32.53 -2.04 -29.47) |
| LCH | lch(32.53 29.54 266.04) |
| OKLab | oklab(42.209% -0.02355 -0.0819) |
| OKLCH | oklch(42.209% 0.08522 253.954) |
| Display P3 | color(display-p3 0.19942 0.30623 0.46893) |
| Rec. 2020 | color(rec2020 0.18326 0.24492 0.41472) |
| Adobe RGB | color(a98-rgb 0.22829 0.31384 0.47345) |
| ProPhoto RGB | color(prophoto-rgb 0.22073 0.23917 0.38692) |
| Linear sRGB | color(srgb-linear 0.02315 0.07819 0.19807) |
| XYZ D65 | color(xyz-d65 0.07325 0.07514 0.19804) |
| XYZ D50 | color(xyz-d50 0.06855 0.07321 0.14935) |
| SwiftUI | Color(red: 0.165, green: 0.31, blue: 0.482) |
| UIKit | UIColor(red: 0.165, green: 0.31, blue: 0.482, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4F7B) |
| Android XML | #2A4F7B |

## Facts

- Closest name: Slumber
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.39:1
- Contrast with black: 2.5:1

## Tints

#2a4f7b, #3e5f88, #527095, #6681a2, #7b92af, #90a4bd, #a5b6ca, #bbc8d7, #d1dae4, #e8ecf2

## Shades

#2a4f7b, #23446a, #1c385a, #162e4a, #10233a, #0a192c, #05101e, #020710, #010205, #000001

## Tones

#2a4f7b, #2e4f77, #324f72, #364f6e, #3a4f69, #3d4f65, #414f60, #444f5c, #474e57, #4a4e52

## Harmonies

- Complementary: #2a4f7b, #694508
- Split: #2a4f7b, #733d24, #564f08
- Analogous: #2a4f7b, #005770, #48467a
- Triadic: #2a4f7b, #75383f, #3a5824
- Tetradic: #2a4f7b, #5e3e6e, #694508, #3a5824
- Square: #2a4f7b, #6d3959, #694508, #0c5c41
- Monochromatic: #2a4f7b, #000f36, #082e58, #4b71a0, #6e96c6

## Questions about #2a4f7b

### What color is #2a4f7b?

#2a4f7b is soft dark blue. The closest named color is Slumber. In RGB it is rgb(42, 79, 123), in HSL hsl(212.59, 49.09%, 32.35%) and in OKLCH oklch(42.209% 0.08522 253.954).

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

The complementary color of #2a4f7b is #694508. For a calmer combination use the analogous colors #005770 and #48467a. The triadic partners are #75383f and #3a5824.

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

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

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

#2a4f7b is a cool color. In OKLCH its hue is 254 degrees, its lightness 42.2% and its chroma 0.085.
