# #1f2958 color: Ultramarine Violet

#1f2958 is rgb(31, 41, 88) in RGB and oklch(30.015% 0.08524 271.37) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2958 |
| RGB | rgb(31, 41, 88) |
| HSL | hsl(229.47, 47.9%, 23.33%) |
| HSB / HSV | hsv(229.47 64.77% 34.51%) |
| HWB | hwb(229.47 12.16% 65.49%) |
| CMYK | cmyk(65% 53% 0% 65%) |
| Lab | lab(17.86 8.62 -30.35) |
| LCH | lch(17.86 31.55 285.86) |
| OKLab | oklab(30.015% 0.00204 -0.08522) |
| OKLCH | oklch(30.015% 0.08524 271.37) |
| Display P3 | color(display-p3 0.1294 0.15964 0.33307) |
| Rec. 2020 | color(rec2020 0.09028 0.09983 0.2719) |
| Adobe RGB | color(a98-rgb 0.15305 0.17695 0.34205) |
| ProPhoto RGB | color(prophoto-rgb 0.13798 0.12436 0.25803) |
| Linear sRGB | color(srgb-linear 0.0137 0.02217 0.09759) |
| XYZ D65 | color(xyz-d65 0.03119 0.02582 0.09567) |
| XYZ D50 | color(xyz-d50 0.02848 0.02486 0.07203) |
| SwiftUI | Color(red: 0.122, green: 0.161, blue: 0.345) |
| UIKit | UIColor(red: 0.122, green: 0.161, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2958) |
| Android XML | #1F2958 |

## 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.85:1
- Contrast with black: 1.52:1

## Tints

#1f2958, #313c68, #455078, #596489, #6f7999, #858eaa, #9da4bb, #b4bacc, #cdd1dd, #e6e8ee

## Shades

#1f2958, #19224b, #141c3f, #0f1533, #0a0f28, #06091d, #030512, #010209, #000103, #000000

## Tones

#1f2958, #202a54, #222b50, #232b4c, #252c48, #262d43, #282d3f, #292d3b, #2b2e37, #2c2e32

## Harmonies

- Complementary: #1f2958, #3d2b00
- Split: #1f2958, #4b2100, #283400
- Analogous: #1f2958, #003154, #362151
- Triadic: #1f2958, #501910, #003916
- Tetradic: #1f2958, #451b41, #3d2b00, #003916
- Square: #1f2958, #4e172b, #3d2b00, #003930
- Monochromatic: #1f2958, #020026, #070936, #3c497c, #5d6ca1

## Questions about #1f2958

### What color is #1f2958?

#1f2958 is soft dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 41, 88), in HSL hsl(229.47, 47.9%, 23.33%) and in OKLCH oklch(30.015% 0.08524 271.37).

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

The complementary color of #1f2958 is #3d2b00. For a calmer combination use the analogous colors #003154 and #362151. The triadic partners are #501910 and #003916.

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

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

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

#1f2958 is a cool color. In OKLCH its hue is 271 degrees, its lightness 30% and its chroma 0.085.
