# #1f2b5a color: Ultramarine Violet

#1f2b5a is rgb(31, 43, 90) in RGB and oklch(30.638% 0.08552 269.961) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2b5a |
| RGB | rgb(31, 43, 90) |
| HSL | hsl(227.8, 48.76%, 23.73%) |
| HSB / HSV | hsv(227.8 65.56% 35.29%) |
| HWB | hwb(227.8 12.16% 64.71%) |
| CMYK | cmyk(66% 52% 0% 65%) |
| Lab | lab(18.61 7.91 -30.47) |
| LCH | lch(18.61 31.48 284.55) |
| OKLab | oklab(30.638% -0.00006 -0.08552) |
| OKLCH | oklch(30.638% 0.08552 269.961) |
| Display P3 | color(display-p3 0.13117 0.16728 0.34078) |
| Rec. 2020 | color(rec2020 0.09387 0.10715 0.27989) |
| Adobe RGB | color(a98-rgb 0.15546 0.18398 0.34943) |
| ProPhoto RGB | color(prophoto-rgb 0.14149 0.12975 0.26495) |
| Linear sRGB | color(srgb-linear 0.0137 0.02416 0.10224) |
| XYZ D65 | color(xyz-d65 0.03274 0.02757 0.10033) |
| XYZ D50 | color(xyz-d50 0.02991 0.02656 0.07555) |
| SwiftUI | Color(red: 0.122, green: 0.169, blue: 0.353) |
| UIKit | UIColor(red: 0.122, green: 0.169, blue: 0.353, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2B5A) |
| Android XML | #1F2B5A |

## Facts

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

## Tints

#1f2b5a, #313e6a, #45527a, #5a668a, #6f7a9b, #868fab, #9da5bc, #b4bbcc, #cdd1dd, #e6e8ee

## Shades

#1f2b5a, #19244d, #141d41, #0f1635, #0a1029, #060a1e, #030513, #010209, #000103, #000000

## Tones

#1f2b5a, #202c56, #222d52, #242d4e, #252e49, #272e45, #292f41, #2a2f3d, #2c2f38, #2e2f34

## Harmonies

- Complementary: #1f2b5a, #3f2c00
- Split: #1f2b5a, #4d2200, #2a3500
- Analogous: #1f2b5a, #003355, #372353
- Triadic: #1f2b5a, #521a13, #003b16
- Tetradic: #1f2b5a, #461d44, #3f2c00, #003b16
- Square: #1f2b5a, #50192e, #3f2c00, #003b31
- Monochromatic: #1f2b5a, #020026, #070b38, #3d4b7e, #5d6ea3

## Questions about #1f2b5a

### What color is #1f2b5a?

#1f2b5a is soft dark blue. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 43, 90), in HSL hsl(227.8, 48.76%, 23.73%) and in OKLCH oklch(30.638% 0.08552 269.961).

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

The complementary color of #1f2b5a is #3f2c00. For a calmer combination use the analogous colors #003355 and #372353. The triadic partners are #521a13 and #003b16.

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

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

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

#1f2b5a is a cool color. In OKLCH its hue is 270 degrees, its lightness 30.6% and its chroma 0.086.
