# #30427f color: Official Violet

#30427f is rgb(48, 66, 127) in RGB and oklch(39.749% 0.10502 268.883) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/30427f

## Formats

| Format | Value |
| --- | --- |
| HEX | #30427f |
| RGB | rgb(48, 66, 127) |
| HSL | hsl(226.33, 45.14%, 34.31%) |
| HSB / HSV | hsv(226.33 62.2% 49.8%) |
| HWB | hwb(226.33 18.82% 50.2%) |
| CMYK | cmyk(62% 48% 0% 50%) |
| Lab | lab(29.03 8.59 -37.46) |
| LCH | lch(29.03 38.43 282.92) |
| OKLab | oklab(39.749% -0.00205 -0.105) |
| OKLCH | oklch(39.749% 0.10502 268.883) |
| Display P3 | color(display-p3 0.20279 0.25683 0.48192) |
| Rec. 2020 | color(rec2020 0.17484 0.19765 0.42791) |
| Adobe RGB | color(a98-rgb 0.22239 0.26629 0.48726) |
| ProPhoto RGB | color(prophoto-rgb 0.21614 0.20257 0.39815) |
| Linear sRGB | color(srgb-linear 0.02956 0.05448 0.21223) |
| XYZ D65 | color(xyz-d65 0.06997 0.06057 0.2088) |
| XYZ D50 | color(xyz-d50 0.06424 0.0585 0.15725) |
| SwiftUI | Color(red: 0.188, green: 0.259, blue: 0.498) |
| UIKit | UIColor(red: 0.188, green: 0.259, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF30427F) |
| Android XML | #30427F |

## 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.5:1
- Contrast with black: 2.21:1

## Tints

#30427f, #42548c, #546699, #6878a6, #7c8bb3, #909dc0, #a6b0cc, #bbc4d9, #d1d7e6, #e8ebf2

## Shades

#30427f, #28386e, #212f5d, #1a254c, #131c3c, #0c142d, #060b1f, #030511, #010106, #000001

## Tones

#30427f, #32437a, #344474, #37456f, #394569, #3b4664, #3e465e, #404758, #424753, #45474d

## Harmonies

- Complementary: #30427f, #5d4300
- Split: #30427f, #6f3500, #424e00
- Analogous: #30427f, #004d79, #4f3877
- Triadic: #30427f, #752c24, #0d5624
- Tetradic: #30427f, #652f62, #5d4300, #0d5624
- Square: #30427f, #722a46, #5d4300, #005748
- Monochromatic: #30427f, #030038, #14215b, #4f64a5, #7188cb

## Questions about #30427f

### What color is #30427f?

#30427f is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 127), in HSL hsl(226.33, 45.14%, 34.31%) and in OKLCH oklch(39.749% 0.10502 268.883).

### What colors go well with #30427f?

The complementary color of #30427f is #5d4300. For a calmer combination use the analogous colors #004d79 and #4f3877. The triadic partners are #752c24 and #0d5624.

### Is white or black text more readable on #30427f?

White text reads better on #30427f: white gives a contrast ratio of 9.5:1 and black gives 2.21:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #30427f a warm or cool color?

#30427f is a cool color. In OKLCH its hue is 269 degrees, its lightness 39.7% and its chroma 0.105.
