# #304f8e color: Nightly Activities

#304f8e is rgb(48, 79, 142) in RGB and oklch(43.727% 0.11037 262.914) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/304f8e

## Formats

| Format | Value |
| --- | --- |
| HEX | #304f8e |
| RGB | rgb(48, 79, 142) |
| HSL | hsl(220.21, 49.47%, 37.25%) |
| HSB / HSV | hsv(220.21 66.2% 55.69%) |
| HWB | hwb(220.21 18.82% 44.31%) |
| CMYK | cmyk(66% 44% 0% 44%) |
| Lab | lab(33.78 5.04 -39.12) |
| LCH | lch(33.78 39.44 277.35) |
| OKLab | oklab(43.727% -0.01362 -0.10952) |
| OKLCH | oklch(43.727% 0.11037 262.914) |
| Display P3 | color(display-p3 0.21565 0.30665 0.53952) |
| Rec. 2020 | color(rec2020 0.20119 0.24749 0.4894) |
| Adobe RGB | color(a98-rgb 0.24016 0.31384 0.54442) |
| ProPhoto RGB | color(prophoto-rgb 0.24493 0.24379 0.45653) |
| Linear sRGB | color(srgb-linear 0.02956 0.07819 0.2705) |
| XYZ D65 | color(xyz-d65 0.08897 0.08173 0.26701) |
| XYZ D50 | color(xyz-d50 0.08171 0.07903 0.20116) |
| SwiftUI | Color(red: 0.188, green: 0.31, blue: 0.557) |
| UIKit | UIColor(red: 0.188, green: 0.31, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF304F8E) |
| Android XML | #304F8E |

## 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.97:1
- Contrast with black: 2.63:1

## Tints

#304f8e, #43609a, #5671a5, #6982b1, #7e93bc, #92a5c8, #a7b6d3, #bcc8de, #d2dae9, #e8edf4

## Shades

#304f8e, #28447b, #213868, #1a2e56, #132344, #0c1934, #061024, #030715, #010207, #000001

## Tones

#304f8e, #345088, #375082, #3b517c, #3e5177, #425271, #45526b, #485264, #4b525e, #4f5258

## Harmonies

- Complementary: #304f8e, #6e4a00
- Split: #304f8e, #7f3d01, #535700
- Analogous: #304f8e, #005a84, #554488
- Triadic: #304f8e, #843434, #266024
- Tetradic: #304f8e, #6e3a75, #6e4a00, #266024
- Square: #304f8e, #7e3457, #6e4a00, #00644c
- Monochromatic: #304f8e, #000b46, #112d69, #5172b4, #7397dc

## Questions about #304f8e

### What color is #304f8e?

#304f8e is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(48, 79, 142), in HSL hsl(220.21, 49.47%, 37.25%) and in OKLCH oklch(43.727% 0.11037 262.914).

### What colors go well with #304f8e?

The complementary color of #304f8e is #6e4a00. For a calmer combination use the analogous colors #005a84 and #554488. The triadic partners are #843434 and #266024.

### Is white or black text more readable on #304f8e?

White text reads better on #304f8e: white gives a contrast ratio of 7.97:1 and black gives 2.63:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #304f8e a warm or cool color?

#304f8e is a cool color. In OKLCH its hue is 263 degrees, its lightness 43.7% and its chroma 0.11.
