# #31518e color: Nightly Activities

#31518e is rgb(49, 81, 142) in RGB and oklch(44.237% 0.10748 262.066) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/31518e

## Formats

| Format | Value |
| --- | --- |
| HEX | #31518e |
| RGB | rgb(49, 81, 142) |
| HSL | hsl(219.35, 48.69%, 37.45%) |
| HSB / HSV | hsv(219.35 65.49% 55.69%) |
| HWB | hwb(219.35 19.22% 44.31%) |
| CMYK | cmyk(65% 43% 0% 44%) |
| Lab | lab(34.44 4.04 -38.06) |
| LCH | lch(34.44 38.28 276.06) |
| OKLab | oklab(44.237% -0.01484 -0.10645) |
| OKLCH | oklch(44.237% 0.10748 262.066) |
| Display P3 | color(display-p3 0.22054 0.3144 0.53983) |
| Rec. 2020 | color(rec2020 0.20614 0.25518 0.4898) |
| Adobe RGB | color(a98-rgb 0.24512 0.32121 0.54458) |
| ProPhoto RGB | color(prophoto-rgb 0.24827 0.25007 0.45705) |
| Linear sRGB | color(srgb-linear 0.03071 0.08228 0.2705) |
| XYZ D65 | color(xyz-d65 0.09091 0.0849 0.26752) |
| XYZ D50 | color(xyz-d50 0.08379 0.08222 0.20158) |
| SwiftUI | Color(red: 0.192, green: 0.318, blue: 0.557) |
| UIKit | UIColor(red: 0.192, green: 0.318, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF31518E) |
| Android XML | #31518E |

## 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.78:1
- Contrast with black: 2.7:1

## Tints

#31518e, #44629a, #5772a5, #6a83b1, #7e94bc, #93a6c7, #a8b7d3, #bdc9de, #d3dbe9, #e9edf4

## Shades

#31518e, #29457b, #223a68, #1a2f56, #132444, #0c1a34, #061024, #030715, #010207, #000001

## Tones

#31518e, #355288, #385283, #3c537d, #3f5377, #435371, #46536b, #495465, #4d535f, #505359

## Harmonies

- Complementary: #31518e, #704b00
- Split: #31518e, #803f0b, #555800
- Analogous: #31518e, #005c84, #554689
- Triadic: #31518e, #843737, #2b6126
- Tetradic: #31518e, #6e3c76, #704b00, #2b6126
- Square: #31518e, #7e3659, #704b00, #00654c
- Monochromatic: #31518e, #000e46, #122f69, #5274b4, #7499dc

## Questions about #31518e

### What color is #31518e?

#31518e is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(49, 81, 142), in HSL hsl(219.35, 48.69%, 37.45%) and in OKLCH oklch(44.237% 0.10748 262.066).

### What colors go well with #31518e?

The complementary color of #31518e is #704b00. For a calmer combination use the analogous colors #005c84 and #554689. The triadic partners are #843737 and #2b6126.

### Is white or black text more readable on #31518e?

White text reads better on #31518e: white gives a contrast ratio of 7.78:1 and black gives 2.7:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #31518e a warm or cool color?

#31518e is a cool color. In OKLCH its hue is 262 degrees, its lightness 44.2% and its chroma 0.107.
