# #2f51a5 color: Dazzling Blue

#2f51a5 is rgb(47, 81, 165) in RGB and oklch(45.757% 0.14132 264.784) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f51a5 |
| RGB | rgb(47, 81, 165) |
| HSL | hsl(222.71, 55.66%, 41.57%) |
| HSB / HSV | hsv(222.71 71.52% 64.71%) |
| HWB | hwb(222.71 18.43% 35.29%) |
| CMYK | cmyk(72% 51% 0% 35%) |
| Lab | lab(35.62 10.77 -50.01) |
| LCH | lch(35.62 51.16 282.15) |
| OKLab | oklab(45.757% -0.01285 -0.14074) |
| OKLCH | oklch(45.757% 0.14132 264.784) |
| Display P3 | color(display-p3 0.21505 0.31425 0.62543) |
| Rec. 2020 | color(rec2020 0.21348 0.25723 0.5814) |
| Adobe RGB | color(a98-rgb 0.24106 0.32121 0.63171) |
| ProPhoto RGB | color(prophoto-rgb 0.2706 0.25467 0.5454) |
| Linear sRGB | color(srgb-linear 0.02843 0.08228 0.37626) |
| XYZ D65 | color(xyz-d65 0.10905 0.09205 0.36801) |
| XYZ D50 | color(xyz-d50 0.09792 0.08812 0.27707) |
| SwiftUI | Color(red: 0.184, green: 0.318, blue: 0.647) |
| UIKit | UIColor(red: 0.184, green: 0.318, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF2F51A5) |
| Android XML | #2F51A5 |

## Facts

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

## Tints

#2f51a5, #4263af, #5574b9, #6985c2, #7d96cc, #91a7d5, #a7b8de, #bccae6, #d2dbef, #e8edf7

## Shades

#2f51a5, #27458f, #203a79, #192f65, #122451, #0c1a3d, #06102b, #03071a, #01020a, #000001

## Tones

#2f51a5, #33539d, #375496, #3c558e, #405687, #44567f, #485777, #4c5770, #505768, #535760

## Harmonies

- Complementary: #2f51a5, #745000
- Split: #2f51a5, #8e3c00, #565e00
- Analogous: #2f51a5, #006090, #5f429c
- Triadic: #2f51a5, #962d2c, #076a1a
- Tetradic: #2f51a5, #7d3582, #745000, #076a1a
- Square: #2f51a5, #8f2c5c, #745000, #006a54
- Monochromatic: #2f51a5, #01045a, #112e7f, #4f75cd, #729af5

## Questions about #2f51a5

### What color is #2f51a5?

#2f51a5 is soft dark blue. The closest named color is Dazzling Blue. In RGB it is rgb(47, 81, 165), in HSL hsl(222.71, 55.66%, 41.57%) and in OKLCH oklch(45.757% 0.14132 264.784).

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

The complementary color of #2f51a5 is #745000. For a calmer combination use the analogous colors #006090 and #5f429c. The triadic partners are #962d2c and #076a1a.

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

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

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

#2f51a5 is a cool color. In OKLCH its hue is 265 degrees, its lightness 45.8% and its chroma 0.141.
