# #334787 color: Truth

#334787 is rgb(51, 71, 135) in RGB and oklch(41.613% 0.10931 268.321) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/334787

## Formats

| Format | Value |
| --- | --- |
| HEX | #334787 |
| RGB | rgb(51, 71, 135) |
| HSL | hsl(225.71, 45.16%, 36.47%) |
| HSB / HSV | hsv(225.71 62.22% 52.94%) |
| HWB | hwb(225.71 20% 47.06%) |
| CMYK | cmyk(62% 47% 0% 47%) |
| Lab | lab(31.17 8.57 -38.99) |
| LCH | lch(31.17 39.92 282.4) |
| OKLab | oklab(41.613% -0.0032 -0.10927) |
| OKLCH | oklch(41.613% 0.10931 268.321) |
| Display P3 | color(display-p3 0.2163 0.27623 0.51243) |
| Rec. 2020 | color(rec2020 0.19135 0.21748 0.46035) |
| Adobe RGB | color(a98-rgb 0.23562 0.2845 0.51753) |
| ProPhoto RGB | color(prophoto-rgb 0.23252 0.21925 0.42864) |
| Linear sRGB | color(srgb-linear 0.0331 0.06301 0.24228) |
| XYZ D65 | color(xyz-d65 0.07991 0.06959 0.23845) |
| XYZ D50 | color(xyz-d50 0.07337 0.06722 0.17959) |
| SwiftUI | Color(red: 0.2, green: 0.278, blue: 0.529) |
| UIKit | UIColor(red: 0.2, green: 0.278, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF334787) |
| Android XML | #334787 |

## Facts

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

## Tints

#334787, #455993, #576aa0, #6a7cac, #7e8eb8, #92a0c4, #a7b3d0, #bdc5dc, #d2d8e8, #e8ecf3

## Shades

#334787, #2b3d75, #233263, #1c2851, #141f41, #0d1631, #070d21, #030613, #010206, #000001

## Tones

#334787, #354881, #38497c, #3a4a76, #3d4a70, #3f4b6a, #424b64, #444c5e, #474c58, #494c52

## Harmonies

- Complementary: #334787, #634700
- Split: #334787, #763900, #475300
- Analogous: #334787, #005280, #543c7f
- Triadic: #334787, #7d2f28, #115b27
- Tetradic: #334787, #6b3369, #634700, #115b27
- Square: #334787, #792e4b, #634700, #005c4c
- Monochromatic: #334787, #04033f, #172662, #536aad, #758ed4

## Questions about #334787

### What color is #334787?

#334787 is soft dark blue. The closest named color is Truth. In RGB it is rgb(51, 71, 135), in HSL hsl(225.71, 45.16%, 36.47%) and in OKLCH oklch(41.613% 0.10931 268.321).

### What colors go well with #334787?

The complementary color of #334787 is #634700. For a calmer combination use the analogous colors #005280 and #543c7f. The triadic partners are #7d2f28 and #115b27.

### Is white or black text more readable on #334787?

White text reads better on #334787: white gives a contrast ratio of 8.78:1 and black gives 2.39:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #334787 a warm or cool color?

#334787 is a cool color. In OKLCH its hue is 268 degrees, its lightness 41.6% and its chroma 0.109.
