# #2a4f87 color: Assassin

#2a4f87 is rgb(42, 79, 135) in RGB and oklch(42.964% 0.10247 258.507) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4f87 |
| RGB | rgb(42, 79, 135) |
| HSL | hsl(216.13, 52.54%, 34.71%) |
| HSB / HSV | hsv(216.13 68.89% 52.94%) |
| HWB | hwb(216.13 16.47% 47.06%) |
| CMYK | cmyk(69% 41% 0% 47%) |
| Lab | lab(33.11 1.62 -35.93) |
| LCH | lch(33.11 35.96 272.58) |
| OKLab | oklab(42.964% -0.02042 -0.10041) |
| OKLCH | oklch(42.964% 0.10247 258.507) |
| Display P3 | color(display-p3 0.19942 0.30623 0.5134) |
| Rec. 2020 | color(rec2020 0.18819 0.24594 0.46168) |
| Adobe RGB | color(a98-rgb 0.22829 0.31384 0.51816) |
| ProPhoto RGB | color(prophoto-rgb 0.23206 0.24133 0.43041) |
| Linear sRGB | color(srgb-linear 0.02315 0.07819 0.24228) |
| XYZ D65 | color(xyz-d65 0.08123 0.07833 0.24006) |
| XYZ D50 | color(xyz-d50 0.07488 0.07589 0.18093) |
| SwiftUI | Color(red: 0.165, green: 0.31, blue: 0.529) |
| UIKit | UIColor(red: 0.165, green: 0.31, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4F87) |
| Android XML | #2A4F87 |

## Facts

- Closest name: Assassin
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.18:1
- Contrast with black: 2.57:1

## Tints

#2a4f87, #3e6093, #52719f, #6682ac, #7b93b8, #90a4c4, #a5b6cf, #bbc8db, #d1dae7, #e8ecf3

## Shades

#2a4f87, #234475, #1c3863, #162e51, #102341, #0a1931, #051021, #020713, #010206, #000001

## Tones

#2a4f87, #2e5082, #33507c, #375077, #3b5071, #3e506c, #425066, #455061, #49505b, #4c5055

## Harmonies

- Complementary: #2a4f87, #6e4700
- Split: #2a4f87, #7b3b13, #555300
- Analogous: #2a4f87, #00597c, #4e4484
- Triadic: #2a4f87, #7e3539, #305c21
- Tetradic: #2a4f87, #673b73, #6e4700, #305c21
- Square: #2a4f87, #773559, #6e4700, #006145
- Monochromatic: #2a4f87, #000c40, #092e63, #4b72ad, #6e96d4

## Questions about #2a4f87

### What color is #2a4f87?

#2a4f87 is soft dark blue. The closest named color is Assassin. In RGB it is rgb(42, 79, 135), in HSL hsl(216.13, 52.54%, 34.71%) and in OKLCH oklch(42.964% 0.10247 258.507).

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

The complementary color of #2a4f87 is #6e4700. For a calmer combination use the analogous colors #00597c and #4e4484. The triadic partners are #7e3539 and #305c21.

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

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

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

#2a4f87 is a cool color. In OKLCH its hue is 259 degrees, its lightness 43% and its chroma 0.102.
