# #334a87 color: Truth

#334a87 is rgb(51, 74, 135) in RGB and oklch(42.285% 0.10531 266.424) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/334a87

## Formats

| Format | Value |
| --- | --- |
| HEX | #334a87 |
| RGB | rgb(51, 74, 135) |
| HSL | hsl(223.57, 45.16%, 36.47%) |
| HSB / HSV | hsv(223.57 62.22% 52.94%) |
| HWB | hwb(223.57 20% 47.06%) |
| CMYK | cmyk(62% 45% 0% 47%) |
| Lab | lab(32.07 6.7 -37.55) |
| LCH | lch(32.07 38.15 280.11) |
| OKLab | oklab(42.285% -0.00657 -0.10511) |
| OKLCH | oklch(42.285% 0.10531 266.424) |
| Display P3 | color(display-p3 0.21914 0.28772 0.51285) |
| Rec. 2020 | color(rec2020 0.19583 0.22862 0.4609) |
| Adobe RGB | color(a98-rgb 0.23959 0.29547 0.51776) |
| ProPhoto RGB | color(prophoto-rgb 0.23572 0.22804 0.42935) |
| Linear sRGB | color(srgb-linear 0.0331 0.06848 0.24228) |
| XYZ D65 | color(xyz-d65 0.08187 0.0735 0.2391) |
| XYZ D50 | color(xyz-d50 0.07548 0.07114 0.18012) |
| SwiftUI | Color(red: 0.2, green: 0.29, blue: 0.529) |
| UIKit | UIColor(red: 0.2, green: 0.29, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF334A87) |
| Android XML | #334A87 |

## Facts

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

## Tints

#334a87, #455b93, #576da0, #6b7eac, #7e90b8, #93a2c4, #a8b4d0, #bdc6dc, #d2d9e7, #e9ecf3

## Shades

#334a87, #2b3f75, #233563, #1c2a51, #142041, #0d1731, #070e21, #030613, #010206, #000001

## Tones

#334a87, #364b81, #384c7c, #3b4c76, #3e4d71, #404d6b, #434d65, #464e60, #484e5a, #4b4e54

## Harmonies

- Complementary: #334a87, #674800
- Split: #334a87, #783b00, #4b5400
- Analogous: #334a87, #00557f, #543f80
- Triadic: #334a87, #7d332e, #1d5d28
- Tetradic: #334a87, #6b376c, #674800, #1d5d28
- Square: #334a87, #79314f, #674800, #005f4c
- Monochromatic: #334a87, #020640, #162963, #536dad, #7591d4

## Questions about #334a87

### What color is #334a87?

#334a87 is soft dark blue. The closest named color is Truth. In RGB it is rgb(51, 74, 135), in HSL hsl(223.57, 45.16%, 36.47%) and in OKLCH oklch(42.285% 0.10531 266.424).

### What colors go well with #334a87?

The complementary color of #334a87 is #674800. For a calmer combination use the analogous colors #00557f and #543f80. The triadic partners are #7d332e and #1d5d28.

### Is white or black text more readable on #334a87?

White text reads better on #334a87: white gives a contrast ratio of 8.5:1 and black gives 2.47:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #334a87 a warm or cool color?

#334a87 is a cool color. In OKLCH its hue is 266 degrees, its lightness 42.3% and its chroma 0.105.
