# #304e8f color: Nightly Activities

#304e8f is rgb(48, 78, 143) in RGB and oklch(43.567% 0.1131 263.722) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304e8f |
| RGB | rgb(48, 78, 143) |
| HSL | hsl(221.05, 49.74%, 37.45%) |
| HSB / HSV | hsv(221.05 66.43% 56.08%) |
| HWB | hwb(221.05 18.82% 43.92%) |
| CMYK | cmyk(66% 45% 0% 44%) |
| Lab | lab(33.53 5.96 -40.12) |
| LCH | lch(33.53 40.56 278.45) |
| OKLab | oklab(43.567% -0.01237 -0.11243) |
| OKLCH | oklch(43.567% 0.1131 263.722) |
| Display P3 | color(display-p3 0.21459 0.30281 0.5431) |
| Rec. 2020 | color(rec2020 0.20003 0.24384 0.49317) |
| Adobe RGB | color(a98-rgb 0.23872 0.31016 0.54811) |
| ProPhoto RGB | color(prophoto-rgb 0.2448 0.24098 0.46004) |
| Linear sRGB | color(srgb-linear 0.02956 0.07619 0.27468) |
| XYZ D65 | color(xyz-d65 0.08901 0.0806 0.27074) |
| XYZ D50 | color(xyz-d50 0.08153 0.07784 0.20395) |
| SwiftUI | Color(red: 0.188, green: 0.306, blue: 0.561) |
| UIKit | UIColor(red: 0.188, green: 0.306, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF304E8F) |
| Android XML | #304E8F |

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

## Tints

#304e8f, #435f9b, #5670a6, #6981b2, #7d93bd, #92a4c8, #a7b6d3, #bcc8de, #d2dae9, #e8ecf4

## Shades

#304e8f, #28437c, #213869, #1a2d57, #132345, #0c1934, #060f24, #030715, #010207, #000001

## Tones

#304e8f, #344f89, #375083, #3b507d, #3e5177, #415171, #45516b, #485165, #4b515e, #4e5158

## Harmonies

- Complementary: #304e8f, #6d4a00
- Split: #304e8f, #7f3c00, #525700
- Analogous: #304e8f, #005985, #564289
- Triadic: #304e8f, #853332, #226124
- Tetradic: #304e8f, #6f3974, #6d4a00, #226124
- Square: #304e8f, #7f3256, #6d4a00, #00634d
- Monochromatic: #304e8f, #000947, #122c6a, #5071b5, #7396dd

## Questions about #304e8f

### What color is #304e8f?

#304e8f is soft dark blue. The closest named color is Nightly Activities. In RGB it is rgb(48, 78, 143), in HSL hsl(221.05, 49.74%, 37.45%) and in OKLCH oklch(43.567% 0.1131 263.722).

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

The complementary color of #304e8f is #6d4a00. For a calmer combination use the analogous colors #005985 and #564289. The triadic partners are #853332 and #226124.

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

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

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

#304e8f is a cool color. In OKLCH its hue is 264 degrees, its lightness 43.6% and its chroma 0.113.
