# #304281 color: Official Violet

#304281 is rgb(48, 66, 129) in RGB and oklch(39.892% 0.10806 269.077) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #304281 |
| RGB | rgb(48, 66, 129) |
| HSL | hsl(226.67, 45.76%, 34.71%) |
| HSB / HSV | hsv(226.67 62.79% 50.59%) |
| HWB | hwb(226.67 18.82% 49.41%) |
| CMYK | cmyk(63% 49% 0% 49%) |
| Lab | lab(29.14 9.2 -38.52) |
| LCH | lch(29.14 39.6 283.43) |
| OKLab | oklab(39.892% -0.00174 -0.10805) |
| OKLCH | oklch(39.892% 0.10806 269.077) |
| Display P3 | color(display-p3 0.20279 0.25683 0.48937) |
| Rec. 2020 | color(rec2020 0.1757 0.19785 0.43578) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.49472) |
| ProPhoto RGB | color(prophoto-rgb 0.21807 0.20298 0.40543) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.21953) |
| XYZ D65 | color(xyz-d65 0.07129 0.0611 0.21573) |
| XYZ D50 | color(xyz-d50 0.06528 0.05894 0.16246) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.506) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF304281) |
| Android XML | #304281 |

## 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.45:1
- Contrast with black: 2.22:1

## Tints

#304281, #42548e, #54669b, #6878a7, #7c8bb4, #909dc1, #a6b0cd, #bbc4da, #d1d7e6, #e8ebf3

## Shades

#304281, #28386f, #212f5e, #1a254e, #131c3e, #0c142e, #060b1f, #030512, #010106, #000001

## Tones

#304281, #32437b, #344476, #374570, #39466b, #3b4665, #3e475f, #404759, #434753, #45474d

## Harmonies

- Complementary: #304281, #5d4300
- Split: #304281, #703500, #424e00
- Analogous: #304281, #004d7a, #503779
- Triadic: #304281, #772b23, #085724
- Tetradic: #304281, #662e63, #5d4300, #085724
- Square: #304281, #732946, #5d4300, #005748
- Monochromatic: #304281, #03003a, #14215d, #4f64a7, #7188ce

## Questions about #304281

### What color is #304281?

#304281 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 129), in HSL hsl(226.67, 45.76%, 34.71%) and in OKLCH oklch(39.892% 0.10806 269.077).

### What colors go well with #304281?

The complementary color of #304281 is #5d4300. For a calmer combination use the analogous colors #004d7a and #503779. The triadic partners are #772b23 and #085724.

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

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

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

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