# #2a224a color: Elderberry

#2a224a is rgb(42, 34, 74) in RGB and oklch(28.334% 0.07142 290.288) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a224a |
| RGB | rgb(42, 34, 74) |
| HSL | hsl(252, 37.04%, 21.18%) |
| HSB / HSV | hsv(252 54.05% 29.02%) |
| HWB | hwb(252 13.33% 70.98%) |
| CMYK | cmyk(43% 54% 0% 71%) |
| Lab | lab(15.89 12.6 -23.98) |
| LCH | lch(15.89 27.09 297.71) |
| OKLab | oklab(28.334% 0.02477 -0.06699) |
| OKLCH | oklch(28.334% 0.07142 290.288) |
| Display P3 | color(display-p3 0.1596 0.13449 0.2804) |
| Rec. 2020 | color(rec2020 0.10108 0.07689 0.21779) |
| Adobe RGB | color(a98-rgb 0.17305 0.15253 0.2912) |
| ProPhoto RGB | color(prophoto-rgb 0.13489 0.10792 0.21247) |
| Linear sRGB | color(srgb-linear 0.02315 0.016 0.06848) |
| XYZ D65 | color(xyz-d65 0.02763 0.02131 0.06744) |
| XYZ D50 | color(xyz-d50 0.02606 0.02077 0.05078) |
| SwiftUI | Color(red: 0.165, green: 0.133, blue: 0.29) |
| UIKit | UIColor(red: 0.165, green: 0.133, blue: 0.29, alpha: 1) |
| Flutter / Compose | Color(0xFF2A224A) |
| Android XML | #2A224A |

## Facts

- Closest name: Elderberry
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.73:1
- Contrast with black: 1.43:1

## Tints

#2a224a, #3c355b, #4e496c, #625e7e, #77738f, #8c89a1, #a2a0b4, #b8b7c6, #cfced9, #e7e6ec

## Shades

#2a224a, #231c3f, #1c1635, #16112a, #100b20, #0a0717, #05030e, #020106, #010002, #000000

## Tones

#2a224a, #2a2347, #2a2444, #2a2541, #29263d, #29273a, #292737, #292834, #292930, #29292d

## Harmonies

- Complementary: #2a224a, #2c2c00
- Split: #2a224a, #3c2400, #13320d
- Analogous: #2a224a, #14294c, #391c3f
- Triadic: #2a224a, #441d02, #003424
- Tetradic: #2a224a, #43192e, #2c2c00, #003424
- Square: #2a224a, #47181a, #2c2c00, #003337
- Monochromatic: #2a224a, #07001e, #0f052a, #48416c, #696390

## Questions about #2a224a

### What color is #2a224a?

#2a224a is soft very dark violet. The closest named color is Elderberry. In RGB it is rgb(42, 34, 74), in HSL hsl(252, 37.04%, 21.18%) and in OKLCH oklch(28.334% 0.07142 290.288).

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

The complementary color of #2a224a is #2c2c00. For a calmer combination use the analogous colors #14294c and #391c3f. The triadic partners are #441d02 and #003424.

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

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

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

#2a224a is a cool color. In OKLCH its hue is 290 degrees, its lightness 28.3% and its chroma 0.071.
