# #1a266f color: Midnight Crest

#1a266f is rgb(26, 38, 111) in RGB and oklch(31.092% 0.1263 270.032) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1a266f

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a266f |
| RGB | rgb(26, 38, 111) |
| HSL | hsl(231.53, 62.04%, 26.86%) |
| HSB / HSV | hsv(231.53 76.58% 43.53%) |
| HWB | hwb(231.53 10.2% 56.47%) |
| CMYK | cmyk(77% 66% 0% 56%) |
| Lab | lab(18.29 17.29 -44.74) |
| LCH | lch(18.29 47.96 291.14) |
| OKLab | oklab(31.092% 0.00007 -0.1263) |
| OKLCH | oklch(31.092% 0.1263 270.032) |
| Display P3 | color(display-p3 0.11171 0.1477 0.41865) |
| Rec. 2020 | color(rec2020 0.08868 0.09121 0.36065) |
| Adobe RGB | color(a98-rgb 0.13836 0.16645 0.42614) |
| ProPhoto RGB | color(prophoto-rgb 0.15334 0.12126 0.33549) |
| Linear sRGB | color(srgb-linear 0.01033 0.01938 0.15896) |
| XYZ D65 | color(xyz-d65 0.03988 0.02753 0.15361) |
| XYZ D50 | color(xyz-d50 0.03471 0.02583 0.11554) |
| SwiftUI | Color(red: 0.102, green: 0.149, blue: 0.435) |
| UIKit | UIColor(red: 0.102, green: 0.149, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF1A266F) |
| Android XML | #1A266F |

## Facts

- Closest name: Midnight Crest
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.54:1
- Contrast with black: 1.55:1

## Tints

#1a266f, #2c3c7e, #3f508d, #54659b, #6b7aaa, #828fb8, #99a5c7, #b2bbd5, #cbd1e3, #e5e8f1

## Shades

#1a266f, #152060, #101951, #0c1342, #070d34, #040827, #02041a, #01020e, #000104, #000001

## Tones

#1a266f, #1c2869, #1e2a63, #202c5d, #222d57, #242e50, #272f4a, #293044, #2b303e, #2e3037

## Harmonies

- Complementary: #1a266f, #412d00
- Split: #1a266f, #512100, #2b3600
- Analogous: #1a266f, #00345d, #3c1965
- Triadic: #1a266f, #610200, #003f08
- Tetradic: #1a266f, #510c4e, #412d00, #003f08
- Square: #1a266f, #5e002e, #412d00, #003c32
- Monochromatic: #1a266f, #03002c, #07004b, #364994, #556cbb

## Questions about #1a266f

### What color is #1a266f?

#1a266f is soft dark blue. The closest named color is Midnight Crest. In RGB it is rgb(26, 38, 111), in HSL hsl(231.53, 62.04%, 26.86%) and in OKLCH oklch(31.092% 0.1263 270.032).

### What colors go well with #1a266f?

The complementary color of #1a266f is #412d00. For a calmer combination use the analogous colors #00345d and #3c1965. The triadic partners are #610200 and #003f08.

### Is white or black text more readable on #1a266f?

White text reads better on #1a266f: white gives a contrast ratio of 13.54:1 and black gives 1.55:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1a266f a warm or cool color?

#1a266f is a cool color. In OKLCH its hue is 270 degrees, its lightness 31.1% and its chroma 0.126.
