# #2e417f color: Official Violet

#2e417f is rgb(46, 65, 127) in RGB and oklch(39.402% 0.10707 268.36) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2e417f |
| RGB | rgb(46, 65, 127) |
| HSL | hsl(225.93, 46.82%, 33.92%) |
| HSB / HSV | hsv(225.93 63.78% 49.8%) |
| HWB | hwb(225.93 18.04% 50.2%) |
| CMYK | cmyk(64% 49% 0% 50%) |
| Lab | lab(28.6 8.75 -38.15) |
| LCH | lch(28.6 39.14 282.92) |
| OKLab | oklab(39.402% -0.00306 -0.10703) |
| OKLCH | oklch(39.402% 0.10707 268.36) |
| Display P3 | color(display-p3 0.19594 0.25282 0.48175) |
| Rec. 2020 | color(rec2020 0.16955 0.19359 0.4277) |
| Adobe RGB | color(a98-rgb 0.21661 0.26266 0.48719) |
| ProPhoto RGB | color(prophoto-rgb 0.21287 0.19929 0.39789) |
| Linear sRGB | color(srgb-linear 0.02732 0.05286 0.21223) |
| XYZ D65 | color(xyz-d65 0.06847 0.05894 0.20856) |
| XYZ D50 | color(xyz-d50 0.06264 0.05684 0.15707) |
| SwiftUI | Color(red: 0.18, green: 0.255, blue: 0.498) |
| UIKit | UIColor(red: 0.18, green: 0.255, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF2E417F) |
| Android XML | #2E417F |

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

## Tints

#2e417f, #40538c, #536599, #6677a6, #7a8ab3, #8f9dc0, #a5b0cc, #bbc3d9, #d1d7e6, #e8ebf2

## Shades

#2e417f, #27376e, #1f2e5d, #18254c, #121c3c, #0b132d, #060b1f, #020511, #010106, #000001

## Tones

#2e417f, #304279, #334374, #35446e, #374469, #3a4563, #3c455e, #3f4658, #414652, #44464c

## Harmonies

- Complementary: #2e417f, #5c4100
- Split: #2e417f, #6f3400, #414d00
- Analogous: #2e417f, #004c78, #4e3677
- Triadic: #2e417f, #752a23, #0a5522
- Tetradic: #2e417f, #642e62, #5c4100, #0a5522
- Square: #2e417f, #712845, #5c4100, #005546
- Monochromatic: #2e417f, #030038, #12205b, #4d63a5, #6f87cc

## Questions about #2e417f

### What color is #2e417f?

#2e417f is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(46, 65, 127), in HSL hsl(225.93, 46.82%, 33.92%) and in OKLCH oklch(39.402% 0.10707 268.36).

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

The complementary color of #2e417f is #5c4100. For a calmer combination use the analogous colors #004c78 and #4e3677. The triadic partners are #752a23 and #0a5522.

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

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

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

#2e417f is a cool color. In OKLCH its hue is 268 degrees, its lightness 39.4% and its chroma 0.107.
