# #2f4180 color: Official Violet

#2f4180 is rgb(47, 65, 128) in RGB and oklch(39.535% 0.10825 269.02) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2f4180

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f4180 |
| RGB | rgb(47, 65, 128) |
| HSL | hsl(226.67, 46.29%, 34.31%) |
| HSB / HSV | hsv(226.67 63.28% 50.2%) |
| HWB | hwb(226.67 18.43% 49.8%) |
| CMYK | cmyk(63% 49% 0% 50%) |
| Lab | lab(28.72 9.29 -38.58) |
| LCH | lch(28.72 39.68 283.54) |
| OKLab | oklab(39.535% -0.00185 -0.10823) |
| OKLCH | oklch(39.535% 0.10825 269.02) |
| Display P3 | color(display-p3 0.1989 0.25291 0.48549) |
| Rec. 2020 | color(rec2020 0.17189 0.19388 0.43165) |
| Adobe RGB | color(a98-rgb 0.21885 0.26266 0.49092) |
| ProPhoto RGB | color(prophoto-rgb 0.21496 0.19972 0.40155) |
| Linear sRGB | color(srgb-linear 0.02843 0.05286 0.21586) |
| XYZ D65 | color(xyz-d65 0.06958 0.05943 0.21203) |
| XYZ D50 | color(xyz-d50 0.06364 0.05731 0.15967) |
| SwiftUI | Color(red: 0.184, green: 0.255, blue: 0.502) |
| UIKit | UIColor(red: 0.184, green: 0.255, blue: 0.502, alpha: 1) |
| Flutter / Compose | Color(0xFF2F4180) |
| Android XML | #2F4180 |

## 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.59:1
- Contrast with black: 2.19:1

## Tints

#2f4180, #41538d, #53659a, #6778a7, #7b8ab4, #909dc0, #a5b0cd, #bbc3d9, #d1d7e6, #e8ebf3

## Shades

#2f4180, #27376e, #202e5d, #19254d, #121c3d, #0c132e, #060b1f, #030512, #010106, #000001

## Tones

#2f4180, #31427a, #334375, #36446f, #38456a, #3a4564, #3d465e, #3f4658, #424652, #44464c

## Harmonies

- Complementary: #2f4180, #5c4200
- Split: #2f4180, #6f3400, #414d00
- Analogous: #2f4180, #004c79, #4f3678
- Triadic: #2f4180, #762a22, #065623
- Tetradic: #2f4180, #652d62, #5c4200, #065623
- Square: #2f4180, #722845, #5c4200, #005647
- Monochromatic: #2f4180, #030039, #13205c, #4e63a6, #7087cd

## Questions about #2f4180

### What color is #2f4180?

#2f4180 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 65, 128), in HSL hsl(226.67, 46.29%, 34.31%) and in OKLCH oklch(39.535% 0.10825 269.02).

### What colors go well with #2f4180?

The complementary color of #2f4180 is #5c4200. For a calmer combination use the analogous colors #004c79 and #4f3678. The triadic partners are #762a22 and #065623.

### Is white or black text more readable on #2f4180?

White text reads better on #2f4180: white gives a contrast ratio of 9.59:1 and black gives 2.19:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2f4180 a warm or cool color?

#2f4180 is a cool color. In OKLCH its hue is 269 degrees, its lightness 39.5% and its chroma 0.108.
