# #2f51a6 color: Dazzling Blue

#2f51a6 is rgb(47, 81, 166) in RGB and oklch(45.831% 0.14273 264.884) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f51a6 |
| RGB | rgb(47, 81, 166) |
| HSL | hsl(222.86, 55.87%, 41.76%) |
| HSB / HSV | hsv(222.86 71.69% 65.1%) |
| HWB | hwb(222.86 18.43% 34.9%) |
| CMYK | cmyk(72% 51% 0% 35%) |
| Lab | lab(35.68 11.09 -50.51) |
| LCH | lch(35.68 51.72 282.38) |
| OKLab | oklab(45.831% -0.01273 -0.14217) |
| OKLCH | oklch(45.831% 0.14273 264.884) |
| Display P3 | color(display-p3 0.21505 0.31425 0.62916) |
| Rec. 2020 | color(rec2020 0.21398 0.25735 0.58542) |
| Adobe RGB | color(a98-rgb 0.24106 0.32121 0.63553) |
| ProPhoto RGB | color(prophoto-rgb 0.27172 0.25491 0.54934) |
| Linear sRGB | color(srgb-linear 0.02843 0.08228 0.38133) |
| XYZ D65 | color(xyz-d65 0.10997 0.09242 0.37282) |
| XYZ D50 | color(xyz-d50 0.09865 0.08843 0.28069) |
| SwiftUI | Color(red: 0.184, green: 0.318, blue: 0.651) |
| UIKit | UIColor(red: 0.184, green: 0.318, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF2F51A6) |
| Android XML | #2F51A6 |

## 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.37:1
- Contrast with black: 2.85:1

## Tints

#2f51a6, #4263b0, #5574ba, #6985c3, #7d96cc, #91a7d5, #a7b9de, #bccae7, #d2dcef, #e8edf7

## Shades

#2f51a6, #274590, #203a7a, #192f65, #122451, #0c1a3e, #06102b, #03071a, #01020a, #000001

## Tones

#2f51a6, #33539e, #375497, #3c558f, #405687, #445780, #485778, #4c5770, #505868, #545860

## Harmonies

- Complementary: #2f51a6, #745100
- Split: #2f51a6, #8e3c00, #575e00
- Analogous: #2f51a6, #006091, #5f429d
- Triadic: #2f51a6, #972c2c, #046b1a
- Tetradic: #2f51a6, #7d3582, #745100, #046b1a
- Square: #2f51a6, #902c5c, #745100, #006a54
- Monochromatic: #2f51a6, #01045a, #112d80, #4f75ce, #729af6

## Questions about #2f51a6

### What color is #2f51a6?

#2f51a6 is soft dark blue. The closest named color is Dazzling Blue. In RGB it is rgb(47, 81, 166), in HSL hsl(222.86, 55.87%, 41.76%) and in OKLCH oklch(45.831% 0.14273 264.884).

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

The complementary color of #2f51a6 is #745100. For a calmer combination use the analogous colors #006091 and #5f429d. The triadic partners are #972c2c and #046b1a.

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

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

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

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