# #1f2a5c color: Ultramarine Violet

#1f2a5c is rgb(31, 42, 92) in RGB and oklch(30.565% 0.0902 270.86) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2a5c |
| RGB | rgb(31, 42, 92) |
| HSL | hsl(229.18, 49.59%, 24.12%) |
| HSB / HSV | hsv(229.18 66.3% 36.08%) |
| HWB | hwb(229.18 12.16% 63.92%) |
| CMYK | cmyk(66% 54% 0% 64%) |
| Lab | lab(18.42 9.23 -32.09) |
| LCH | lch(18.42 33.39 286.05) |
| OKLab | oklab(30.565% 0.00135 -0.09019) |
| OKLCH | oklch(30.565% 0.0902 270.86) |
| Display P3 | color(display-p3 0.13028 0.16346 0.34811) |
| Rec. 2020 | color(rec2020 0.09335 0.1038 0.28742) |
| Adobe RGB | color(a98-rgb 0.15424 0.18046 0.35663) |
| ProPhoto RGB | color(prophoto-rgb 0.14239 0.12762 0.27135) |
| Linear sRGB | color(srgb-linear 0.0137 0.02315 0.10702) |
| XYZ D65 | color(xyz-d65 0.03325 0.0272 0.10475) |
| XYZ D50 | color(xyz-d50 0.03021 0.02613 0.07886) |
| SwiftUI | Color(red: 0.122, green: 0.165, blue: 0.361) |
| UIKit | UIColor(red: 0.122, green: 0.165, blue: 0.361, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2A5C) |
| Android XML | #1F2A5C |

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

## Tints

#1f2a5c, #313e6c, #45517c, #5a658c, #6f7a9c, #858fac, #9da5bd, #b4bbcd, #cdd1de, #e6e8ee

## Shades

#1f2a5c, #19234f, #141c42, #0f1636, #0a102a, #060a1f, #030514, #01020a, #000103, #000000

## Tones

#1f2a5c, #202b58, #222c53, #232d4f, #252d4b, #272e46, #282e42, #2a2f3d, #2c2f39, #2d2f34

## Harmonies

- Complementary: #1f2a5c, #3f2c00
- Split: #1f2a5c, #4e2100, #293500
- Analogous: #1f2a5c, #003358, #372255
- Triadic: #1f2a5c, #541810, #003b15
- Tetradic: #1f2a5c, #481b44, #3f2c00, #003b15
- Square: #1f2a5c, #51162d, #3f2c00, #003b31
- Monochromatic: #1f2a5c, #020028, #070a3a, #3c4b80, #5d6da5

## Questions about #1f2a5c

### What color is #1f2a5c?

#1f2a5c is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 42, 92), in HSL hsl(229.18, 49.59%, 24.12%) and in OKLCH oklch(30.565% 0.0902 270.86).

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

The complementary color of #1f2a5c is #3f2c00. For a calmer combination use the analogous colors #003358 and #372255. The triadic partners are #541810 and #003b15.

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

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

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

#1f2a5c is a cool color. In OKLCH its hue is 271 degrees, its lightness 30.6% and its chroma 0.09.
