# #1a2770 color: Midnight Crest

#1a2770 is rgb(26, 39, 112) in RGB and oklch(31.39% 0.12644 269.679) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a2770 |
| RGB | rgb(26, 39, 112) |
| HSL | hsl(230.93, 62.32%, 27.06%) |
| HSB / HSV | hsv(230.93 76.79% 43.92%) |
| HWB | hwb(230.93 10.2% 56.08%) |
| CMYK | cmyk(77% 65% 0% 56%) |
| Lab | lab(18.66 16.96 -44.78) |
| LCH | lch(18.66 47.89 290.74) |
| OKLab | oklab(31.39% -0.00071 -0.12644) |
| OKLCH | oklch(31.39% 0.12644 269.679) |
| Display P3 | color(display-p3 0.11264 0.15152 0.42249) |
| Rec. 2020 | color(rec2020 0.09052 0.09482 0.36468) |
| Adobe RGB | color(a98-rgb 0.13961 0.16994 0.42989) |
| ProPhoto RGB | color(prophoto-rgb 0.15515 0.12388 0.33915) |
| Linear sRGB | color(srgb-linear 0.01033 0.02029 0.16203) |
| XYZ D65 | color(xyz-d65 0.04076 0.0284 0.15663) |
| XYZ D50 | color(xyz-d50 0.0355 0.02667 0.11782) |
| SwiftUI | Color(red: 0.102, green: 0.153, blue: 0.439) |
| UIKit | UIColor(red: 0.102, green: 0.153, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF1A2770) |
| Android XML | #1A2770 |

## 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.39:1
- Contrast with black: 1.57:1

## Tints

#1a2770, #2c3c7f, #3f518e, #55669c, #6b7baa, #8290b9, #9aa5c7, #b2bbd5, #cbd2e3, #e5e8f1

## Shades

#1a2770, #152060, #101a51, #0c1443, #070e35, #040827, #02041a, #01020e, #000104, #000001

## Tones

#1a2770, #1c296a, #1e2b64, #202d5e, #222e58, #252f51, #27304b, #2a3045, #2c313e, #2f3138

## Harmonies

- Complementary: #1a2770, #422e00
- Split: #1a2770, #522100, #2c3700
- Analogous: #1a2770, #00355d, #3c1a66
- Triadic: #1a2770, #620200, #004006
- Tetradic: #1a2770, #510d4f, #422e00, #004006
- Square: #1a2770, #5e012f, #422e00, #003d33
- Monochromatic: #1a2770, #03002c, #07004c, #364a95, #566dbc

## Questions about #1a2770

### What color is #1a2770?

#1a2770 is soft dark blue. The closest named color is Midnight Crest. In RGB it is rgb(26, 39, 112), in HSL hsl(230.93, 62.32%, 27.06%) and in OKLCH oklch(31.39% 0.12644 269.679).

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

The complementary color of #1a2770 is #422e00. For a calmer combination use the analogous colors #00355d and #3c1a66. The triadic partners are #620200 and #004006.

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

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

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

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