# #1f2852 color: Space Cadet

#1f2852 is rgb(31, 40, 82) in RGB and oklch(29.314% 0.07693 271.796) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2852 |
| RGB | rgb(31, 40, 82) |
| HSL | hsl(229.41, 45.13%, 22.16%) |
| HSB / HSV | hsv(229.41 62.2% 32.16%) |
| HWB | hwb(229.41 12.16% 67.84%) |
| CMYK | cmyk(62% 51% 0% 68%) |
| Lab | lab(17.17 7.39 -27.44) |
| LCH | lch(17.17 28.42 285.07) |
| OKLab | oklab(29.314% 0.00241 -0.07689) |
| OKLCH | oklch(29.314% 0.07693 271.796) |
| Display P3 | color(display-p3 0.12854 0.15582 0.3106) |
| Rec. 2020 | color(rec2020 0.08648 0.09567 0.2488) |
| Adobe RGB | color(a98-rgb 0.15187 0.17344 0.32031) |
| ProPhoto RGB | color(prophoto-rgb 0.13199 0.12076 0.23847) |
| Linear sRGB | color(srgb-linear 0.0137 0.02122 0.08438) |
| XYZ D65 | color(xyz-d65 0.02847 0.02418 0.083) |
| XYZ D50 | color(xyz-d50 0.02622 0.02338 0.0625) |
| SwiftUI | Color(red: 0.122, green: 0.157, blue: 0.322) |
| UIKit | UIColor(red: 0.122, green: 0.157, blue: 0.322, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2852) |
| Android XML | #1F2852 |

## Facts

- Closest name: Space Cadet
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.15:1
- Contrast with black: 1.48:1

## Tints

#1f2852, #313b63, #454f73, #5a6384, #6f7895, #868da6, #9da3b8, #b4b9c9, #cdd0db, #e6e7ed

## Shades

#1f2852, #192146, #141b3b, #0f152f, #0a0f25, #06091a, #030411, #010208, #000102, #000000

## Tones

#1f2852, #20294e, #21294b, #232a47, #242b43, #252b3f, #272b3c, #282c38, #292c34, #2b2c30

## Harmonies

- Complementary: #1f2852, #3a2a00
- Split: #1f2852, #462100, #263100
- Analogous: #1f2852, #002f4f, #33214c
- Triadic: #1f2852, #4b1a12, #013617
- Tetradic: #1f2852, #411b3d, #3a2a00, #013617
- Square: #1f2852, #4a1829, #3a2a00, #00372f
- Monochromatic: #1f2852, #020023, #070931, #3c4875, #5d6a9a

## Questions about #1f2852

### What color is #1f2852?

#1f2852 is soft very dark indigo. The closest named color is Space Cadet. In RGB it is rgb(31, 40, 82), in HSL hsl(229.41, 45.13%, 22.16%) and in OKLCH oklch(29.314% 0.07693 271.796).

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

The complementary color of #1f2852 is #3a2a00. For a calmer combination use the analogous colors #002f4f and #33214c. The triadic partners are #4b1a12 and #013617.

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

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

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

#1f2852 is a cool color. In OKLCH its hue is 272 degrees, its lightness 29.3% and its chroma 0.077.
