# #2f5fac color: Rainbow Bright

#2f5fac is rgb(47, 95, 172) in RGB and oklch(49.328% 0.13385 259.477) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f5fac |
| RGB | rgb(47, 95, 172) |
| HSL | hsl(216.96, 57.08%, 42.94%) |
| HSB / HSV | hsv(216.96 72.67% 67.45%) |
| HWB | hwb(216.96 18.43% 32.55%) |
| CMYK | cmyk(73% 45% 0% 33%) |
| Lab | lab(40.14 4.47 -46.91) |
| LCH | lch(40.14 47.12 275.45) |
| OKLab | oklab(49.328% -0.02444 -0.1316) |
| OKLCH | oklch(49.328% 0.13385 259.477) |
| Display P3 | color(display-p3 0.23127 0.36807 0.65335) |
| Rec. 2020 | color(rec2020 0.24005 0.31096 0.61195) |
| Adobe RGB | color(a98-rgb 0.26282 0.37318 0.65946) |
| ProPhoto RGB | color(prophoto-rgb 0.2946 0.29981 0.57644) |
| Linear sRGB | color(srgb-linear 0.02843 0.11444 0.41254) |
| XYZ D65 | color(xyz-d65 0.1271 0.11767 0.40632) |
| XYZ D50 | color(xyz-d50 0.1155 0.11337 0.3061) |
| SwiftUI | Color(red: 0.184, green: 0.373, blue: 0.675) |
| UIKit | UIColor(red: 0.184, green: 0.373, blue: 0.675, alpha: 1) |
| Flutter / Compose | Color(0xFF2F5FAC) |
| Android XML | #2F5FAC |

## 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.26:1
- Contrast with black: 3.35:1

## Tints

#2f5fac, #436fb5, #577fbe, #6b8fc7, #809ecf, #94aed8, #a9bee0, #becee8, #d3def0, #e9eff8

## Shades

#2f5fac, #275295, #20447f, #193869, #122c54, #0c2040, #06152d, #030a1b, #01030b, #000001

## Tones

#2f5fac, #3560a5, #3b619e, #406196, #45628f, #4a6288, #4f6280, #546279, #586271, #5d6269

## Harmonies

- Complementary: #2f5fac, #855700
- Split: #2f5fac, #9b4400, #676600
- Analogous: #2f5fac, #006c98, #6151a7
- Triadic: #2f5fac, #9f3a41, #32721f
- Tetradic: #2f5fac, #814490, #855700, #32721f
- Square: #2f5fac, #963b6d, #855700, #007656
- Monochromatic: #2f5fac, #001861, #0b3c86, #5183d4, #75a9fc

## Questions about #2f5fac

### What color is #2f5fac?

#2f5fac is soft dark blue. The closest named color is Rainbow Bright. In RGB it is rgb(47, 95, 172), in HSL hsl(216.96, 57.08%, 42.94%) and in OKLCH oklch(49.328% 0.13385 259.477).

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

The complementary color of #2f5fac is #855700. For a calmer combination use the analogous colors #006c98 and #6151a7. The triadic partners are #9f3a41 and #32721f.

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

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

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

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