# #1f2a5b color: Ultramarine Violet

#1f2a5b is rgb(31, 42, 91) in RGB and oklch(30.485% 0.0886 270.8) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2a5b |
| RGB | rgb(31, 42, 91) |
| HSL | hsl(229, 49.18%, 23.92%) |
| HSB / HSV | hsv(229 65.93% 35.69%) |
| HWB | hwb(229 12.16% 64.31%) |
| CMYK | cmyk(66% 54% 0% 64%) |
| Lab | lab(18.36 8.91 -31.53) |
| LCH | lch(18.36 32.77 285.78) |
| OKLab | oklab(30.485% 0.00124 -0.08859) |
| OKLCH | oklch(30.485% 0.0886 270.8) |
| Display P3 | color(display-p3 0.13028 0.16346 0.34438) |
| Rec. 2020 | color(rec2020 0.09292 0.10369 0.28357) |
| Adobe RGB | color(a98-rgb 0.15424 0.18046 0.353) |
| ProPhoto RGB | color(prophoto-rgb 0.14149 0.12743 0.26805) |
| Linear sRGB | color(srgb-linear 0.0137 0.02315 0.10462) |
| XYZ D65 | color(xyz-d65 0.03281 0.02702 0.10247) |
| XYZ D50 | color(xyz-d50 0.02986 0.02599 0.07715) |
| SwiftUI | Color(red: 0.122, green: 0.165, blue: 0.357) |
| UIKit | UIColor(red: 0.122, green: 0.165, blue: 0.357, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2A5B) |
| Android XML | #1F2A5B |

## 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.63:1
- Contrast with black: 1.54:1

## Tints

#1f2a5b, #313d6b, #45517b, #5a658b, #6f7a9b, #868fac, #9da5bc, #b4bbcd, #cdd1dd, #e6e8ee

## Shades

#1f2a5b, #19234e, #141c41, #0f1635, #0a1029, #060a1e, #030513, #010209, #000103, #000000

## Tones

#1f2a5b, #202b57, #222c52, #232d4e, #252d4a, #272e46, #282e41, #2a2e3d, #2c2f38, #2d2f34

## Harmonies

- Complementary: #1f2a5b, #3e2c00
- Split: #1f2a5b, #4d2100, #293500
- Analogous: #1f2a5b, #003357, #372254
- Triadic: #1f2a5b, #531911, #003b15
- Tetradic: #1f2a5b, #471b43, #3e2c00, #003b15
- Square: #1f2a5b, #50172c, #3e2c00, #003b31
- Monochromatic: #1f2a5b, #020027, #070a39, #3c4b7f, #5d6da4

## Questions about #1f2a5b

### What color is #1f2a5b?

#1f2a5b is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 42, 91), in HSL hsl(229, 49.18%, 23.92%) and in OKLCH oklch(30.485% 0.0886 270.8).

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

The complementary color of #1f2a5b is #3e2c00. For a calmer combination use the analogous colors #003357 and #372254. The triadic partners are #531911 and #003b15.

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

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

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

#1f2a5b is a cool color. In OKLCH its hue is 271 degrees, its lightness 30.5% and its chroma 0.089.
