# #2d5fab color: Rainbow Bright

#2d5fab is rgb(45, 95, 171) in RGB and oklch(49.182% 0.13313 258.694) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d5fab |
| RGB | rgb(45, 95, 171) |
| HSL | hsl(216.19, 58.33%, 42.35%) |
| HSB / HSV | hsv(216.19 73.68% 67.06%) |
| HWB | hwb(216.19 17.65% 32.94%) |
| CMYK | cmyk(74% 44% 0% 33%) |
| Lab | lab(40.01 3.83 -46.54) |
| LCH | lch(40.01 46.7 274.7) |
| OKLab | oklab(49.182% -0.0261 -0.13055) |
| OKLCH | oklch(49.182% 0.13313 258.694) |
| Display P3 | color(display-p3 0.2263 0.36796 0.6496) |
| Rec. 2020 | color(rec2020 0.23669 0.31061 0.60791) |
| Adobe RGB | color(a98-rgb 0.25926 0.37318 0.65564) |
| ProPhoto RGB | color(prophoto-rgb 0.29178 0.29928 0.57244) |
| Linear sRGB | color(srgb-linear 0.02624 0.11444 0.40724) |
| XYZ D65 | color(xyz-d65 0.12524 0.11682 0.40124) |
| XYZ D50 | color(xyz-d50 0.11379 0.11256 0.30228) |
| SwiftUI | Color(red: 0.176, green: 0.373, blue: 0.671) |
| UIKit | UIColor(red: 0.176, green: 0.373, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF2D5FAB) |
| Android XML | #2D5FAB |

## Facts

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

## Tints

#2d5fab, #426fb4, #567fbd, #6a8fc6, #7f9ecf, #93aed7, #a8bee0, #becee8, #d3def0, #e9eff7

## Shades

#2d5fab, #265294, #1f447e, #183868, #112c54, #0b2040, #06152d, #020a1b, #01030b, #000001

## Tones

#2d5fab, #3360a4, #39619d, #3f6195, #44628e, #4a6287, #4e627f, #536278, #586270, #5c6169

## Harmonies

- Complementary: #2d5fab, #855600
- Split: #2d5fab, #9a4400, #686500
- Analogous: #2d5fab, #006c96, #6051a7
- Triadic: #2d5fab, #9e3a42, #34721d
- Tetradic: #2d5fab, #804490, #855600, #34721d
- Square: #2d5fab, #953b6d, #855600, #007654
- Monochromatic: #2d5fab, #001860, #073c85, #5083d3, #73a9fb

## Questions about #2d5fab

### What color is #2d5fab?

#2d5fab is deep dark blue. The closest named color is Rainbow Bright. In RGB it is rgb(45, 95, 171), in HSL hsl(216.19, 58.33%, 42.35%) and in OKLCH oklch(49.182% 0.13313 258.694).

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

The complementary color of #2d5fab is #855600. For a calmer combination use the analogous colors #006c96 and #6051a7. The triadic partners are #9e3a42 and #34721d.

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

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

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

#2d5fab is a cool color. In OKLCH its hue is 259 degrees, its lightness 49.2% and its chroma 0.133.
