# #303f82 color: Official Violet

#303f82 is rgb(48, 63, 130) in RGB and oklch(39.307% 0.1137 270.852) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/303f82

## Formats

| Format | Value |
| --- | --- |
| HEX | #303f82 |
| RGB | rgb(48, 63, 130) |
| HSL | hsl(229.02, 46.07%, 34.9%) |
| HSB / HSV | hsv(229.02 63.08% 50.98%) |
| HWB | hwb(229.02 18.82% 49.02%) |
| CMYK | cmyk(63% 52% 0% 49%) |
| Lab | lab(28.31 11.41 -40.47) |
| LCH | lch(28.31 42.05 285.74) |
| OKLab | oklab(39.307% 0.00169 -0.11369) |
| OKLCH | oklch(39.307% 0.1137 270.852) |
| Display P3 | color(display-p3 0.20009 0.24536 0.49271) |
| Rec. 2020 | color(rec2020 0.17187 0.18697 0.43922) |
| Adobe RGB | color(a98-rgb 0.2186 0.25542 0.49825) |
| ProPhoto RGB | color(prophoto-rgb 0.21608 0.19476 0.40844) |
| Linear sRGB | color(srgb-linear 0.02956 0.04971 0.22323) |
| XYZ D65 | color(xyz-d65 0.07025 0.05795 0.21868) |
| XYZ D50 | color(xyz-d50 0.06397 0.05574 0.16464) |
| SwiftUI | Color(red: 0.188, green: 0.247, blue: 0.51) |
| UIKit | UIColor(red: 0.188, green: 0.247, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF303F82) |
| Android XML | #303F82 |

## Facts

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

## Tints

#303f82, #41518f, #54649c, #6776a8, #7b89b5, #909cc2, #a5afce, #bbc3da, #d1d7e7, #e8ebf3

## Shades

#303f82, #283570, #212c5f, #1a234e, #131b3e, #0c122f, #060a20, #030412, #010106, #000001

## Tones

#303f82, #32407c, #344276, #364370, #38436b, #3a4465, #3d455f, #3f4559, #414552, #43464c

## Harmonies

- Complementary: #303f82, #5a4200
- Split: #303f82, #6f3300, #3e4e00
- Analogous: #303f82, #004b7c, #513478
- Triadic: #303f82, #77281c, #005622
- Tetradic: #303f82, #672a61, #5a4200, #005622
- Square: #303f82, #742542, #5a4200, #005548
- Monochromatic: #303f82, #05003b, #151d5e, #4f61a8, #7085cf

## Questions about #303f82

### What color is #303f82?

#303f82 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(48, 63, 130), in HSL hsl(229.02, 46.07%, 34.9%) and in OKLCH oklch(39.307% 0.1137 270.852).

### What colors go well with #303f82?

The complementary color of #303f82 is #5a4200. For a calmer combination use the analogous colors #004b7c and #513478. The triadic partners are #77281c and #005622.

### Is white or black text more readable on #303f82?

White text reads better on #303f82: white gives a contrast ratio of 9.73:1 and black gives 2.16:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #303f82 a warm or cool color?

#303f82 is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.3% and its chroma 0.114.
