# #30417e color: Official Violet

#30417e is rgb(48, 65, 126) in RGB and oklch(39.455% 0.10487 269.417) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/30417e

## Formats

| Format | Value |
| --- | --- |
| HEX | #30417e |
| RGB | rgb(48, 65, 126) |
| HSL | hsl(226.92, 44.83%, 34.12%) |
| HSB / HSV | hsv(226.92 61.9% 49.41%) |
| HWB | hwb(226.92 18.82% 50.59%) |
| CMYK | cmyk(62% 48% 0% 51%) |
| Lab | lab(28.67 8.93 -37.4) |
| LCH | lch(28.67 38.45 283.42) |
| OKLab | oklab(39.455% -0.00107 -0.10487) |
| OKLCH | oklch(39.455% 0.10487 269.417) |
| Display P3 | color(display-p3 0.20188 0.253 0.47807) |
| Rec. 2020 | color(rec2020 0.17298 0.19387 0.42381) |
| Adobe RGB | color(a98-rgb 0.22111 0.26266 0.48346) |
| ProPhoto RGB | color(prophoto-rgb 0.21417 0.19953 0.39431) |
| Linear sRGB | color(srgb-linear 0.02956 0.05286 0.20864) |
| XYZ D65 | color(xyz-d65 0.06875 0.05915 0.20519) |
| XYZ D50 | color(xyz-d50 0.0631 0.05712 0.15453) |
| SwiftUI | Color(red: 0.188, green: 0.255, blue: 0.494) |
| UIKit | UIColor(red: 0.188, green: 0.255, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF30417E) |
| Android XML | #30417E |

## 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.62:1
- Contrast with black: 2.18:1

## Tints

#30417e, #42538b, #546598, #6877a5, #7c8ab2, #909dbf, #a6b0cc, #bbc3d9, #d1d7e5, #e8ebf2

## Shades

#30417e, #28376d, #212e5c, #1a254c, #131c3c, #0c132d, #060b1f, #030511, #010105, #000001

## Tones

#30417e, #324279, #344373, #36446e, #394468, #3b4563, #3d455d, #3f4658, #424652, #44464c

## Harmonies

- Complementary: #30417e, #5b4200
- Split: #30417e, #6e3500, #404d00
- Analogous: #30417e, #004c78, #4f3776
- Triadic: #30417e, #742b23, #095524
- Tetradic: #30417e, #642e61, #5b4200, #095524
- Square: #30417e, #712944, #5b4200, #005648
- Monochromatic: #30417e, #030037, #14205a, #4f63a4, #7187ca

## Questions about #30417e

### What color is #30417e?

#30417e is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 126), in HSL hsl(226.92, 44.83%, 34.12%) and in OKLCH oklch(39.455% 0.10487 269.417).

### What colors go well with #30417e?

The complementary color of #30417e is #5b4200. For a calmer combination use the analogous colors #004c78 and #4f3776. The triadic partners are #742b23 and #095524.

### Is white or black text more readable on #30417e?

White text reads better on #30417e: white gives a contrast ratio of 9.62:1 and black gives 2.18:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #30417e a warm or cool color?

#30417e is a cool color. In OKLCH its hue is 269 degrees, its lightness 39.5% and its chroma 0.105.
