# #1f285b color: Ultramarine Violet

#1f285b is rgb(31, 40, 91) in RGB and oklch(30.028% 0.09155 272.207) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f285b |
| RGB | rgb(31, 40, 91) |
| HSL | hsl(231, 49.18%, 23.92%) |
| HSB / HSV | hsv(231 65.93% 35.69%) |
| HWB | hwb(231 12.16% 64.31%) |
| CMYK | cmyk(66% 56% 0% 64%) |
| Lab | lab(17.74 10.27 -32.53) |
| LCH | lch(17.74 34.12 287.53) |
| OKLab | oklab(30.028% 0.00353 -0.09148) |
| OKLCH | oklch(30.028% 0.09155 272.207) |
| Display P3 | color(display-p3 0.12854 0.15582 0.34414) |
| Rec. 2020 | color(rec2020 0.09024 0.09661 0.28326) |
| Adobe RGB | color(a98-rgb 0.15187 0.17344 0.35287) |
| ProPhoto RGB | color(prophoto-rgb 0.13979 0.12247 0.26769) |
| Linear sRGB | color(srgb-linear 0.0137 0.02122 0.10462) |
| XYZ D65 | color(xyz-d65 0.03212 0.02564 0.10224) |
| XYZ D50 | color(xyz-d50 0.02912 0.0246 0.07696) |
| SwiftUI | Color(red: 0.122, green: 0.157, blue: 0.357) |
| UIKit | UIColor(red: 0.122, green: 0.157, blue: 0.357, alpha: 1) |
| Flutter / Compose | Color(0xFF1F285B) |
| Android XML | #1F285B |

## Facts

- Closest name: Ultramarine Violet
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.88:1
- Contrast with black: 1.51:1

## Tints

#1f285b, #313c6b, #45507b, #59648b, #6f799c, #858eac, #9ca4bc, #b4bacd, #cdd1dd, #e6e8ee

## Shades

#1f285b, #19214e, #141b41, #0f1535, #0a0f29, #06091e, #030413, #010209, #000103, #000000

## Tones

#1f285b, #202957, #222a52, #232b4e, #242c49, #262c45, #272d40, #292d3c, #2b2d37, #2c2e33

## Harmonies

- Complementary: #1f285b, #3c2b00
- Split: #1f285b, #4c2000, #263400
- Analogous: #1f285b, #003157, #372053
- Triadic: #1f285b, #52160c, #003a14
- Tetradic: #1f285b, #471842, #3c2b00, #003a14
- Square: #1f285b, #50142a, #3c2b00, #003931
- Monochromatic: #1f285b, #030028, #070839, #3c497f, #5c6ba4

## Questions about #1f285b

### What color is #1f285b?

#1f285b is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 40, 91), in HSL hsl(231, 49.18%, 23.92%) and in OKLCH oklch(30.028% 0.09155 272.207).

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

The complementary color of #1f285b is #3c2b00. For a calmer combination use the analogous colors #003157 and #372053. The triadic partners are #52160c and #003a14.

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

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

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

#1f285b is a cool color. In OKLCH its hue is 272 degrees, its lightness 30% and its chroma 0.092.
