# #2871a8 color: Mega Blue

#2871a8 is rgb(40, 113, 168) in RGB and oklch(53.026% 0.11196 245.239) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2871a8

## Formats

| Format | Value |
| --- | --- |
| HEX | #2871a8 |
| RGB | rgb(40, 113, 168) |
| HSL | hsl(205.78, 61.54%, 40.78%) |
| HSB / HSV | hsv(205.78 76.19% 65.88%) |
| HWB | hwb(205.78 15.69% 34.12%) |
| CMYK | cmyk(76% 33% 0% 34%) |
| Lab | lab(45.2 -8.15 -36.59) |
| LCH | lch(45.2 37.48 257.45) |
| OKLab | oklab(53.026% -0.04689 -0.10166) |
| OKLCH | oklch(53.026% 0.11196 245.239) |
| Display P3 | color(display-p3 0.23949 0.43708 0.64126) |
| Rec. 2020 | color(rec2020 0.26257 0.37957 0.59966) |
| Adobe RGB | color(a98-rgb 0.28287 0.4409 0.64579) |
| ProPhoto RGB | color(prophoto-rgb 0.30905 0.35795 0.56574) |
| Linear sRGB | color(srgb-linear 0.02122 0.16513 0.39157) |
| XYZ D65 | color(xyz-d65 0.13847 0.15088 0.3923) |
| XYZ D50 | color(xyz-d50 0.12888 0.14684 0.29595) |
| SwiftUI | Color(red: 0.157, green: 0.443, blue: 0.659) |
| UIKit | UIColor(red: 0.157, green: 0.443, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF2871A8) |
| Android XML | #2871A8 |

## Facts

- Closest name: Mega Blue
- Hue family: Sky blue, bright sky blue
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.23:1
- Contrast with black: 4.02:1

## Tints

#2871a8, #417fb1, #578dba, #6c9bc3, #81a9cc, #96b7d5, #aac5dd, #bfd4e6, #d4e2ee, #eaf0f7

## Shades

#2871a8, #216192, #1b527c, #154367, #0f3552, #09273f, #041a2c, #020e1a, #01040a, #000101

## Tones

#2871a8, #3271a2, #3b719c, #437096, #4a7091, #50708b, #566f85, #5c6e7e, #616e78, #676d72

## Harmonies

- Complementary: #2871a8, #975c12
- Split: #2871a8, #a2513d, #806a00
- Analogous: #2871a8, #007b94, #5a65ac
- Triadic: #2871a8, #a04d63, #5d7725
- Tetradic: #2871a8, #7b599f, #975c12, #5d7725
- Square: #2871a8, #935185, #975c12, #277e4f
- Monochromatic: #2871a8, #002d5b, #004e82, #4f96cf, #74bcf7

## Questions about #2871a8

### What color is #2871a8?

#2871a8 is bright sky blue. The closest named color is Mega Blue. In RGB it is rgb(40, 113, 168), in HSL hsl(205.78, 61.54%, 40.78%) and in OKLCH oklch(53.026% 0.11196 245.239).

### What colors go well with #2871a8?

The complementary color of #2871a8 is #975c12. For a calmer combination use the analogous colors #007b94 and #5a65ac. The triadic partners are #a04d63 and #5d7725.

### Is white or black text more readable on #2871a8?

White text reads better on #2871a8: white gives a contrast ratio of 5.23:1 and black gives 4.02:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2871a8 a warm or cool color?

#2871a8 is a cool color. In OKLCH its hue is 245 degrees, its lightness 53% and its chroma 0.112.
