# #2f5fab color: Rainbow Bright

#2f5fab is rgb(47, 95, 171) in RGB and oklch(49.261% 0.13246 259.282) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f5fab |
| RGB | rgb(47, 95, 171) |
| HSL | hsl(216.77, 56.88%, 42.75%) |
| HSB / HSV | hsv(216.77 72.51% 67.06%) |
| HWB | hwb(216.77 18.43% 32.94%) |
| CMYK | cmyk(73% 44% 0% 33%) |
| Lab | lab(40.09 4.16 -46.41) |
| LCH | lch(40.09 46.59 275.12) |
| OKLab | oklab(49.261% -0.02463 -0.13015) |
| OKLCH | oklch(49.261% 0.13246 259.282) |
| Display P3 | color(display-p3 0.23127 0.36807 0.64962) |
| Rec. 2020 | color(rec2020 0.23957 0.31086 0.60794) |
| Adobe RGB | color(a98-rgb 0.26282 0.37318 0.65564) |
| ProPhoto RGB | color(prophoto-rgb 0.29349 0.29959 0.57247) |
| Linear sRGB | color(srgb-linear 0.02843 0.11444 0.40724) |
| XYZ D65 | color(xyz-d65 0.12614 0.11728 0.40128) |
| XYZ D50 | color(xyz-d50 0.11474 0.11305 0.30232) |
| SwiftUI | Color(red: 0.184, green: 0.373, blue: 0.671) |
| UIKit | UIColor(red: 0.184, green: 0.373, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF2F5FAB) |
| Android XML | #2F5FAB |

## Facts

- Closest name: Rainbow Bright
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.28:1
- Contrast with black: 3.35:1

## Tints

#2f5fab, #436fb4, #577fbd, #6b8fc6, #809ecf, #94aed7, #a9bee0, #becee8, #d3def0, #e9eff7

## Shades

#2f5fab, #275294, #20447e, #193868, #122c54, #0c2040, #06152d, #030a1b, #01030b, #000001

## Tones

#2f5fab, #3560a4, #3b619d, #406195, #45628e, #4a6287, #4f6280, #546278, #586271, #5d6169

## Harmonies

- Complementary: #2f5fab, #855700
- Split: #2f5fab, #9a4500, #676600
- Analogous: #2f5fab, #006c97, #6151a6
- Triadic: #2f5fab, #9e3b42, #337220
- Tetradic: #2f5fab, #814490, #855700, #337220
- Square: #2f5fab, #953c6d, #855700, #007655
- Monochromatic: #2f5fab, #001860, #0b3c85, #5183d3, #75a9fb

## Questions about #2f5fab

### What color is #2f5fab?

#2f5fab is soft dark blue. The closest named color is Rainbow Bright. In RGB it is rgb(47, 95, 171), in HSL hsl(216.77, 56.88%, 42.75%) and in OKLCH oklch(49.261% 0.13246 259.282).

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

The complementary color of #2f5fab is #855700. For a calmer combination use the analogous colors #006c97 and #6151a6. The triadic partners are #9e3b42 and #337220.

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

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

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

#2f5fab is a cool color. In OKLCH its hue is 259 degrees, its lightness 49.3% and its chroma 0.132.
