# #2d3e87 color: Official Violet

#2d3e87 is rgb(45, 62, 135) in RGB and oklch(39.288% 0.12348 269.983) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d3e87 |
| RGB | rgb(45, 62, 135) |
| HSL | hsl(228.67, 50%, 35.29%) |
| HSB / HSV | hsv(228.67 66.67% 52.94%) |
| HWB | hwb(228.67 17.65% 47.06%) |
| CMYK | cmyk(67% 54% 0% 47%) |
| Lab | lab(28.13 12.92 -43.88) |
| LCH | lch(28.13 45.74 286.41) |
| OKLab | oklab(39.288% -0.00004 -0.12348) |
| OKLCH | oklch(39.288% 0.12348 269.983) |
| Display P3 | color(display-p3 0.19021 0.24125 0.51118) |
| Rec. 2020 | color(rec2020 0.16699 0.18329 0.45875) |
| Adobe RGB | color(a98-rgb 0.21051 0.2518 0.51692) |
| ProPhoto RGB | color(prophoto-rgb 0.21687 0.19242 0.4266) |
| Linear sRGB | color(srgb-linear 0.02624 0.04817 0.24228) |
| XYZ D65 | color(xyz-d65 0.07177 0.05752 0.23655) |
| XYZ D50 | color(xyz-d50 0.06466 0.05506 0.17805) |
| SwiftUI | Color(red: 0.176, green: 0.243, blue: 0.529) |
| UIKit | UIColor(red: 0.176, green: 0.243, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2D3E87) |
| Android XML | #2D3E87 |

## 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.77:1
- Contrast with black: 2.15:1

## Tints

#2d3e87, #3f5194, #5163a0, #6576ac, #7989b9, #8e9cc5, #a4afd0, #bac3dc, #d0d7e8, #e7ebf4

## Shades

#2d3e87, #263575, #1f2b63, #182351, #111a41, #0b1231, #060a21, #020413, #010106, #000001

## Tones

#2d3e87, #2f4081, #31417a, #344274, #36436e, #394467, #3b4561, #3e455a, #404553, #43464d

## Harmonies

- Complementary: #2d3e87, #5a4200
- Split: #2d3e87, #703200, #3f4d00
- Analogous: #2d3e87, #004b7d, #51327d
- Triadic: #2d3e87, #7a2319, #00571d
- Tetradic: #2d3e87, #682765, #5a4200, #00571d
- Square: #2d3e87, #772043, #5a4200, #005548
- Monochromatic: #2d3e87, #05003e, #131b62, #4c61ad, #6d85d5

## Questions about #2d3e87

### What color is #2d3e87?

#2d3e87 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(45, 62, 135), in HSL hsl(228.67, 50%, 35.29%) and in OKLCH oklch(39.288% 0.12348 269.983).

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

The complementary color of #2d3e87 is #5a4200. For a calmer combination use the analogous colors #004b7d and #51327d. The triadic partners are #7a2319 and #00571d.

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

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

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

#2d3e87 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.3% and its chroma 0.123.
