# #1f2757 color: Ultramarine Violet

#1f2757 is rgb(31, 39, 87) in RGB and oklch(29.474% 0.08662 272.842) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2757 |
| RGB | rgb(31, 39, 87) |
| HSL | hsl(231.43, 47.46%, 23.14%) |
| HSB / HSV | hsv(231.43 64.37% 34.12%) |
| HWB | hwb(231.43 12.16% 65.88%) |
| CMYK | cmyk(64% 55% 0% 66%) |
| Lab | lab(17.17 9.67 -30.79) |
| LCH | lch(17.17 32.27 287.43) |
| OKLab | oklab(29.474% 0.0043 -0.08651) |
| OKLCH | oklch(29.474% 0.08662 272.842) |
| Display P3 | color(display-p3 0.1277 0.152 0.3291) |
| Rec. 2020 | color(rec2020 0.0872 0.09264 0.26775) |
| Adobe RGB | color(a98-rgb 0.1507 0.16994 0.3383) |
| ProPhoto RGB | color(prophoto-rgb 0.1354 0.11924 0.25441) |
| Linear sRGB | color(srgb-linear 0.0137 0.02029 0.09531) |
| XYZ D65 | color(xyz-d65 0.03011 0.0243 0.09328) |
| XYZ D50 | color(xyz-d50 0.02743 0.02337 0.07022) |
| SwiftUI | Color(red: 0.122, green: 0.153, blue: 0.341) |
| UIKit | UIColor(red: 0.122, green: 0.153, blue: 0.341, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2757) |
| Android XML | #1F2757 |

## Facts

- Closest name: Ultramarine Violet
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.13:1
- Contrast with black: 1.49:1

## Tints

#1f2757, #313b67, #454f78, #596388, #6f7899, #858da9, #9ca3ba, #b4b9cb, #cdd0dc, #e6e7ee

## Shades

#1f2757, #19204b, #141a3e, #0f1433, #0a0e27, #06081c, #030412, #010208, #000103, #000000

## Tones

#1f2757, #202853, #21294f, #232a4b, #242a46, #252b42, #272b3e, #282c3a, #292c35, #2b2c31

## Harmonies

- Complementary: #1f2757, #3a2a00
- Split: #1f2757, #491f00, #253300
- Analogous: #1f2757, #002f54, #351f4f
- Triadic: #1f2757, #4f170c, #003815
- Tetradic: #1f2757, #44193f, #3a2a00, #003815
- Square: #1f2757, #4d1528, #3a2a00, #003830
- Monochromatic: #1f2757, #030026, #070735, #3c477a, #5c69a0

## Questions about #1f2757

### What color is #1f2757?

#1f2757 is soft very dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 39, 87), in HSL hsl(231.43, 47.46%, 23.14%) and in OKLCH oklch(29.474% 0.08662 272.842).

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

The complementary color of #1f2757 is #3a2a00. For a calmer combination use the analogous colors #002f54 and #351f4f. The triadic partners are #4f170c and #003815.

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

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

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

#1f2757 is a cool color. In OKLCH its hue is 273 degrees, its lightness 29.5% and its chroma 0.087.
