# #1f2a5a color: Ultramarine Violet

#1f2a5a is rgb(31, 42, 90) in RGB and oklch(30.405% 0.08699 270.734) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2a5a |
| RGB | rgb(31, 42, 90) |
| HSL | hsl(228.81, 48.76%, 23.73%) |
| HSB / HSV | hsv(228.81 65.56% 35.29%) |
| HWB | hwb(228.81 12.16% 64.71%) |
| CMYK | cmyk(66% 53% 0% 65%) |
| Lab | lab(18.3 8.59 -30.97) |
| LCH | lch(18.3 32.14 285.49) |
| OKLab | oklab(30.405% 0.00111 -0.08698) |
| OKLCH | oklch(30.405% 0.08699 270.734) |
| Display P3 | color(display-p3 0.13028 0.16346 0.34065) |
| Rec. 2020 | color(rec2020 0.09249 0.10359 0.27973) |
| Adobe RGB | color(a98-rgb 0.15424 0.18046 0.34937) |
| ProPhoto RGB | color(prophoto-rgb 0.1406 0.12724 0.26476) |
| Linear sRGB | color(srgb-linear 0.0137 0.02315 0.10224) |
| XYZ D65 | color(xyz-d65 0.03238 0.02685 0.10021) |
| XYZ D50 | color(xyz-d50 0.02952 0.02584 0.07545) |
| SwiftUI | Color(red: 0.122, green: 0.165, blue: 0.353) |
| UIKit | UIColor(red: 0.122, green: 0.165, blue: 0.353, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2A5A) |
| Android XML | #1F2A5A |

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

## Tints

#1f2a5a, #313d6a, #45517a, #5a658a, #6f7a9b, #868fab, #9da4bc, #b4bacc, #cdd1dd, #e6e8ee

## Shades

#1f2a5a, #19234d, #141c41, #0f1635, #0a1029, #060a1e, #030513, #010209, #000103, #000000

## Tones

#1f2a5a, #202b56, #222c52, #232c4d, #252d49, #272e45, #282e41, #2a2e3c, #2b2f38, #2d2f33

## Harmonies

- Complementary: #1f2a5a, #3e2c00
- Split: #1f2a5a, #4d2100, #293400
- Analogous: #1f2a5a, #003256, #372253
- Triadic: #1f2a5a, #521911, #003a15
- Tetradic: #1f2a5a, #461b43, #3e2c00, #003a15
- Square: #1f2a5a, #50172c, #3e2c00, #003a31
- Monochromatic: #1f2a5a, #020027, #070a38, #3c4a7e, #5d6da3

## Questions about #1f2a5a

### What color is #1f2a5a?

#1f2a5a is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 42, 90), in HSL hsl(228.81, 48.76%, 23.73%) and in OKLCH oklch(30.405% 0.08699 270.734).

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

The complementary color of #1f2a5a is #3e2c00. For a calmer combination use the analogous colors #003256 and #372253. The triadic partners are #521911 and #003a15.

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

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

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

#1f2a5a is a cool color. In OKLCH its hue is 271 degrees, its lightness 30.4% and its chroma 0.087.
