# #254f8a color: Night Mode

#254f8a is rgb(37, 79, 138) in RGB and oklch(42.943% 0.10869 257.387) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/254f8a

## Formats

| Format | Value |
| --- | --- |
| HEX | #254f8a |
| RGB | rgb(37, 79, 138) |
| HSL | hsl(215.05, 57.71%, 34.31%) |
| HSB / HSV | hsv(215.05 73.19% 54.12%) |
| HWB | hwb(215.05 14.51% 45.88%) |
| CMYK | cmyk(73% 43% 0% 46%) |
| Lab | lab(33.04 1.6 -37.89) |
| LCH | lch(33.04 37.92 272.42) |
| OKLab | oklab(42.943% -0.02373 -0.10606) |
| OKLCH | oklch(42.943% 0.10869 257.387) |
| Display P3 | color(display-p3 0.18665 0.30592 0.52446) |
| Rec. 2020 | color(rec2020 0.18198 0.24556 0.47341) |
| Adobe RGB | color(a98-rgb 0.21918 0.31384 0.5294) |
| ProPhoto RGB | color(prophoto-rgb 0.23064 0.24112 0.44142) |
| Linear sRGB | color(srgb-linear 0.0185 0.07819 0.25415) |
| XYZ D65 | color(xyz-d65 0.08146 0.0782 0.25126) |
| XYZ D50 | color(xyz-d50 0.07454 0.07557 0.18934) |
| SwiftUI | Color(red: 0.145, green: 0.31, blue: 0.541) |
| UIKit | UIColor(red: 0.145, green: 0.31, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF254F8A) |
| Android XML | #254F8A |

## Facts

- Closest name: Night Mode
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.19:1
- Contrast with black: 2.56:1

## Tints

#254f8a, #3a6096, #4f71a2, #6382ae, #7893ba, #8ea5c5, #a4b6d1, #bac8dd, #d1dae8, #e8edf4

## Shades

#254f8a, #1f4477, #193865, #132e53, #0d2342, #081932, #041022, #020714, #000207, #000001

## Tones

#254f8a, #2a5084, #2f507f, #345079, #385173, #3d516d, #415168, #445062, #48505c, #4c5056

## Harmonies

- Complementary: #254f8a, #704500
- Split: #254f8a, #7e390e, #575300
- Analogous: #254f8a, #00597c, #4d4487
- Triadic: #254f8a, #803239, #2f5d1a
- Tetradic: #254f8a, #673a76, #704500, #2f5d1a
- Square: #254f8a, #79335b, #704500, #006243
- Monochromatic: #254f8a, #000b42, #022d65, #4772b0, #6997d7

## Questions about #254f8a

### What color is #254f8a?

#254f8a is deep dark blue. The closest named color is Night Mode. In RGB it is rgb(37, 79, 138), in HSL hsl(215.05, 57.71%, 34.31%) and in OKLCH oklch(42.943% 0.10869 257.387).

### What colors go well with #254f8a?

The complementary color of #254f8a is #704500. For a calmer combination use the analogous colors #00597c and #4d4487. The triadic partners are #803239 and #2f5d1a.

### Is white or black text more readable on #254f8a?

White text reads better on #254f8a: white gives a contrast ratio of 8.19:1 and black gives 2.56:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #254f8a a warm or cool color?

#254f8a is a cool color. In OKLCH its hue is 257 degrees, its lightness 42.9% and its chroma 0.109.
