# #1f2b5e color: Ultramarine Violet

#1f2b5e is rgb(31, 43, 94) in RGB and oklch(30.956% 0.09192 270.281) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2b5e |
| RGB | rgb(31, 43, 94) |
| HSL | hsl(228.57, 50.4%, 24.51%) |
| HSB / HSV | hsv(228.57 67.02% 36.86%) |
| HWB | hwb(228.57 12.16% 63.14%) |
| CMYK | cmyk(67% 54% 0% 63%) |
| Lab | lab(18.87 9.2 -32.7) |
| LCH | lch(18.87 33.97 285.72) |
| OKLab | oklab(30.956% 0.00045 -0.09192) |
| OKLCH | oklch(30.956% 0.09192 270.281) |
| Display P3 | color(display-p3 0.13117 0.16728 0.35568) |
| Rec. 2020 | color(rec2020 0.0956 0.10757 0.29527) |
| Adobe RGB | color(a98-rgb 0.15546 0.18398 0.36398) |
| ProPhoto RGB | color(prophoto-rgb 0.14507 0.13053 0.27817) |
| Linear sRGB | color(srgb-linear 0.0137 0.02416 0.11193) |
| XYZ D65 | color(xyz-d65 0.03449 0.02827 0.10954) |
| XYZ D50 | color(xyz-d50 0.03129 0.02715 0.08247) |
| SwiftUI | Color(red: 0.122, green: 0.169, blue: 0.369) |
| UIKit | UIColor(red: 0.122, green: 0.169, blue: 0.369, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2B5E) |
| Android XML | #1F2B5E |

## 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.41:1
- Contrast with black: 1.57:1

## Tints

#1f2b5e, #313e6e, #45527e, #5a668e, #6f7b9d, #8690ae, #9da5be, #b4bbce, #cdd1de, #e6e8ef

## Shades

#1f2b5e, #192451, #141d44, #0f1637, #0a102b, #060a1f, #030514, #01020a, #000103, #000000

## Tones

#1f2b5e, #212c5a, #222d55, #242e51, #252e4c, #272f48, #292f43, #2b303e, #2c303a, #2e3035

## Harmonies

- Complementary: #1f2b5e, #402d00
- Split: #1f2b5e, #502100, #2b3600
- Analogous: #1f2b5e, #003459, #382257
- Triadic: #1f2b5e, #551911, #003c14
- Tetradic: #1f2b5e, #491b46, #402d00, #003c14
- Square: #1f2b5e, #53172e, #402d00, #003c32
- Monochromatic: #1f2b5e, #020029, #070b3c, #3c4c82, #5d6ea7

## Questions about #1f2b5e

### What color is #1f2b5e?

#1f2b5e is soft dark blue. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 43, 94), in HSL hsl(228.57, 50.4%, 24.51%) and in OKLCH oklch(30.956% 0.09192 270.281).

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

The complementary color of #1f2b5e is #402d00. For a calmer combination use the analogous colors #003459 and #382257. The triadic partners are #551911 and #003c14.

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

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

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

#1f2b5e is a cool color. In OKLCH its hue is 270 degrees, its lightness 31% and its chroma 0.092.
