# #18266f color: Midnight Crest

#18266f is rgb(24, 38, 111) in RGB and oklch(30.983% 0.12689 269.076) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/18266f

## Formats

| Format | Value |
| --- | --- |
| HEX | #18266f |
| RGB | rgb(24, 38, 111) |
| HSL | hsl(230.34, 64.44%, 26.47%) |
| HSB / HSV | hsv(230.34 78.38% 43.53%) |
| HWB | hwb(230.34 9.41% 56.47%) |
| CMYK | cmyk(78% 66% 0% 56%) |
| Lab | lab(18.17 16.97 -44.94) |
| LCH | lch(18.17 48.03 290.69) |
| OKLab | oklab(30.983% -0.00205 -0.12688) |
| OKLCH | oklch(30.983% 0.12689 269.076) |
| Display P3 | color(display-p3 0.10584 0.14752 0.41862) |
| Rec. 2020 | color(rec2020 0.08543 0.09086 0.36062) |
| Adobe RGB | color(a98-rgb 0.13411 0.16645 0.42614) |
| ProPhoto RGB | color(prophoto-rgb 0.15176 0.12091 0.33546) |
| Linear sRGB | color(srgb-linear 0.00913 0.01938 0.15896) |
| XYZ D65 | color(xyz-d65 0.03939 0.02728 0.15358) |
| XYZ D50 | color(xyz-d50 0.03419 0.02556 0.11552) |
| SwiftUI | Color(red: 0.094, green: 0.149, blue: 0.435) |
| UIKit | UIColor(red: 0.094, green: 0.149, blue: 0.435, alpha: 1) |
| Flutter / Compose | Color(0xFF18266F) |
| Android XML | #18266F |

## 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.59:1
- Contrast with black: 1.55:1

## Tints

#18266f, #2a3c7e, #3e508d, #53659b, #697aaa, #818fb8, #99a5c7, #b1bbd5, #cbd1e3, #e5e8f1

## Shades

#18266f, #132060, #0f1951, #0a1342, #070d34, #040827, #02041a, #01020e, #000104, #000001

## Tones

#18266f, #1a2869, #1c2a63, #1e2c5d, #212d56, #232e50, #262f4a, #283044, #2b303d, #2e3037

## Harmonies

- Complementary: #18266f, #412d00
- Split: #18266f, #512000, #2c3600
- Analogous: #18266f, #00345b, #3b1966
- Triadic: #18266f, #610000, #003f04
- Tetradic: #18266f, #500b4f, #412d00, #003f04
- Square: #18266f, #5d002f, #412d00, #003c31
- Monochromatic: #18266f, #02002c, #06004b, #344994, #536cbb

## Questions about #18266f

### What color is #18266f?

#18266f is soft dark blue. The closest named color is Midnight Crest. In RGB it is rgb(24, 38, 111), in HSL hsl(230.34, 64.44%, 26.47%) and in OKLCH oklch(30.983% 0.12689 269.076).

### What colors go well with #18266f?

The complementary color of #18266f is #412d00. For a calmer combination use the analogous colors #00345b and #3b1966. The triadic partners are #610000 and #003f04.

### Is white or black text more readable on #18266f?

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

### Is #18266f a warm or cool color?

#18266f is a cool color. In OKLCH its hue is 269 degrees, its lightness 31% and its chroma 0.127.
