# #2d3f87 color: Official Violet

#2d3f87 is rgb(45, 63, 135) in RGB and oklch(39.502% 0.12212 269.514) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d3f87 |
| RGB | rgb(45, 63, 135) |
| HSL | hsl(228, 50%, 35.29%) |
| HSB / HSV | hsv(228 66.67% 52.94%) |
| HWB | hwb(228 17.65% 47.06%) |
| CMYK | cmyk(67% 53% 0% 47%) |
| Lab | lab(28.42 12.28 -43.41) |
| LCH | lch(28.42 45.11 285.79) |
| OKLab | oklab(39.502% -0.00104 -0.12212) |
| OKLCH | oklch(39.502% 0.12212 269.514) |
| Display P3 | color(display-p3 0.19113 0.24508 0.5113) |
| Rec. 2020 | color(rec2020 0.1684 0.18693 0.4589) |
| Adobe RGB | color(a98-rgb 0.21179 0.25542 0.51698) |
| ProPhoto RGB | color(prophoto-rgb 0.21783 0.19519 0.4268) |
| Linear sRGB | color(srgb-linear 0.02624 0.04971 0.24228) |
| XYZ D65 | color(xyz-d65 0.07232 0.05862 0.23673) |
| XYZ D50 | color(xyz-d50 0.06525 0.05616 0.1782) |
| SwiftUI | Color(red: 0.176, green: 0.247, blue: 0.529) |
| UIKit | UIColor(red: 0.176, green: 0.247, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2D3F87) |
| Android XML | #2D3F87 |

## 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.67:1
- Contrast with black: 2.17:1

## Tints

#2d3f87, #3f5294, #5164a0, #6577ac, #798ab8, #8e9dc4, #a4b0d0, #bac3dc, #d1d7e8, #e8ebf3

## Shades

#2d3f87, #263575, #1f2c63, #182351, #111b41, #0b1231, #060a21, #020413, #010106, #000001

## Tones

#2d3f87, #2f4181, #32427a, #344374, #37446e, #394567, #3c4561, #3e465b, #414654, #44464d

## Harmonies

- Complementary: #2d3f87, #5b4200
- Split: #2d3f87, #713200, #404e00
- Analogous: #2d3f87, #004c7e, #51337d
- Triadic: #2d3f87, #7b241b, #00571d
- Tetradic: #2d3f87, #682865, #5b4200, #00571d
- Square: #2d3f87, #772244, #5b4200, #005648
- Monochromatic: #2d3f87, #05003f, #121d62, #4c62ad, #6d86d5

## Questions about #2d3f87

### What color is #2d3f87?

#2d3f87 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(45, 63, 135), in HSL hsl(228, 50%, 35.29%) and in OKLCH oklch(39.502% 0.12212 269.514).

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

The complementary color of #2d3f87 is #5b4200. For a calmer combination use the analogous colors #004c7e and #51337d. The triadic partners are #7b241b and #00571d.

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

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

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

#2d3f87 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.5% and its chroma 0.122.
