# #334386 color: Official Violet

#334386 is rgb(51, 67, 134) in RGB and oklch(40.663% 0.11326 270.555) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #334386 |
| RGB | rgb(51, 67, 134) |
| HSL | hsl(228.43, 44.86%, 36.27%) |
| HSB / HSV | hsv(228.43 61.94% 52.55%) |
| HWB | hwb(228.43 20% 47.45%) |
| CMYK | cmyk(62% 50% 0% 47%) |
| Lab | lab(29.93 10.79 -40.35) |
| LCH | lch(29.93 41.77 284.97) |
| OKLab | oklab(40.663% 0.0011 -0.11325) |
| OKLCH | oklch(40.663% 0.11326 270.555) |
| Display P3 | color(display-p3 0.21268 0.26094 0.50818) |
| Rec. 2020 | color(rec2020 0.18515 0.20264 0.45572) |
| Adobe RGB | color(a98-rgb 0.2305 0.26993 0.5135) |
| ProPhoto RGB | color(prophoto-rgb 0.22745 0.20755 0.42406) |
| Linear sRGB | color(srgb-linear 0.0331 0.05613 0.2384) |
| XYZ D65 | color(xyz-d65 0.07675 0.06439 0.23393) |
| XYZ D50 | color(xyz-d50 0.07016 0.06205 0.17615) |
| SwiftUI | Color(red: 0.2, green: 0.263, blue: 0.525) |
| UIKit | UIColor(red: 0.2, green: 0.263, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF334386) |
| Android XML | #334386 |

## 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.18:1
- Contrast with black: 2.29:1

## Tints

#334386, #445593, #57679f, #6a79ab, #7d8cb7, #929ec4, #a7b1d0, #bcc4dc, #d2d8e7, #e8ebf3

## Shades

#334386, #2b3974, #232f62, #1c2651, #141d40, #0d1430, #070c21, #030513, #010106, #000001

## Tones

#334386, #354480, #37457a, #394674, #3b476e, #3e4868, #404862, #42495c, #454956, #474950

## Harmonies

- Complementary: #334386, #5e4600
- Split: #334386, #743700, #425100
- Analogous: #334386, #004f80, #54387c
- Triadic: #334386, #7b2c21, #005a26
- Tetradic: #334386, #6a2f66, #5e4600, #005a26
- Square: #334386, #782946, #5e4600, #00594c
- Monochromatic: #334386, #05003e, #172161, #5266ac, #748ad3

## Questions about #334386

### What color is #334386?

#334386 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(51, 67, 134), in HSL hsl(228.43, 44.86%, 36.27%) and in OKLCH oklch(40.663% 0.11326 270.555).

### What colors go well with #334386?

The complementary color of #334386 is #5e4600. For a calmer combination use the analogous colors #004f80 and #54387c. The triadic partners are #7b2c21 and #005a26.

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

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

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

#334386 is a cool color. In OKLCH its hue is 271 degrees, its lightness 40.7% and its chroma 0.113.
