# #304382 color: Official Violet

#304382 is rgb(48, 67, 130) in RGB and oklch(40.186% 0.10821 268.569) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/304382

## Formats

| Format | Value |
| --- | --- |
| HEX | #304382 |
| RGB | rgb(48, 67, 130) |
| HSL | hsl(226.1, 46.07%, 34.9%) |
| HSB / HSV | hsv(226.1 63.08% 50.98%) |
| HWB | hwb(226.1 18.82% 49.02%) |
| CMYK | cmyk(63% 48% 0% 49%) |
| Lab | lab(29.5 8.87 -38.57) |
| LCH | lch(29.5 39.58 282.95) |
| OKLab | oklab(40.186% -0.0027 -0.10818) |
| OKLCH | oklch(40.186% 0.10821 268.569) |
| Display P3 | color(display-p3 0.20372 0.26065 0.49322) |
| Rec. 2020 | color(rec2020 0.17758 0.20163 0.43988) |
| Adobe RGB | color(a98-rgb 0.22368 0.26993 0.49853) |
| ProPhoto RGB | color(prophoto-rgb 0.22007 0.20603 0.4093) |
| Linear sRGB | color(srgb-linear 0.02956 0.05613 0.22323) |
| XYZ D65 | color(xyz-d65 0.07255 0.06254 0.21945) |
| XYZ D50 | color(xyz-d50 0.06645 0.06035 0.16527) |
| SwiftUI | Color(red: 0.188, green: 0.263, blue: 0.51) |
| UIKit | UIColor(red: 0.188, green: 0.263, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF304382) |
| Android XML | #304382 |

## Facts

- Closest name: Official Violet
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.33:1
- Contrast with black: 2.25:1

## Tints

#304382, #42558f, #54679c, #6879a8, #7c8bb5, #909ec1, #a6b1ce, #bbc4da, #d1d7e6, #e8ebf3

## Shades

#304382, #283970, #212f5f, #1a264e, #131d3e, #0c142f, #060c20, #030512, #010106, #000001

## Tones

#304382, #32447c, #354577, #374671, #39466b, #3c4766, #3e4760, #41485a, #434854, #46484e

## Harmonies

- Complementary: #304382, #5e4400
- Split: #304382, #713600, #434f00
- Analogous: #304382, #004e7b, #51387a
- Triadic: #304382, #782c24, #0b5724
- Tetradic: #304382, #672f65, #5e4400, #0b5724
- Square: #304382, #742a47, #5e4400, #005849
- Monochromatic: #304382, #03003b, #14225e, #4f65a8, #7189cf

## Questions about #304382

### What color is #304382?

#304382 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 67, 130), in HSL hsl(226.1, 46.07%, 34.9%) and in OKLCH oklch(40.186% 0.10821 268.569).

### What colors go well with #304382?

The complementary color of #304382 is #5e4400. For a calmer combination use the analogous colors #004e7b and #51387a. The triadic partners are #782c24 and #0b5724.

### Is white or black text more readable on #304382?

White text reads better on #304382: white gives a contrast ratio of 9.33:1 and black gives 2.25:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #304382 a warm or cool color?

#304382 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.2% and its chroma 0.108.
