# #1f285a color: Ultramarine Violet

#1f285a is rgb(31, 40, 90) in RGB and oklch(29.946% 0.08995 272.186) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f285a |
| RGB | rgb(31, 40, 90) |
| HSL | hsl(230.85, 48.76%, 23.73%) |
| HSB / HSV | hsv(230.85 65.56% 35.29%) |
| HWB | hwb(230.85 12.16% 64.71%) |
| CMYK | cmyk(66% 56% 0% 65%) |
| Lab | lab(17.67 9.95 -31.97) |
| LCH | lch(17.67 33.49 287.29) |
| OKLab | oklab(29.946% 0.00343 -0.08989) |
| OKLCH | oklch(29.946% 0.08995 272.186) |
| Display P3 | color(display-p3 0.12854 0.15582 0.34041) |
| Rec. 2020 | color(rec2020 0.08981 0.0965 0.27942) |
| Adobe RGB | color(a98-rgb 0.15187 0.17344 0.34924) |
| ProPhoto RGB | color(prophoto-rgb 0.13889 0.12227 0.2644) |
| Linear sRGB | color(srgb-linear 0.0137 0.02122 0.10224) |
| XYZ D65 | color(xyz-d65 0.03169 0.02547 0.09998) |
| XYZ D50 | color(xyz-d50 0.02878 0.02446 0.07526) |
| SwiftUI | Color(red: 0.122, green: 0.157, blue: 0.353) |
| UIKit | UIColor(red: 0.122, green: 0.157, blue: 0.353, alpha: 1) |
| Flutter / Compose | Color(0xFF1F285A) |
| Android XML | #1F285A |

## 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: 13.91:1
- Contrast with black: 1.51:1

## Tints

#1f285a, #313c6a, #45507a, #59648b, #6f799b, #858eab, #9ca4bc, #b4bacc, #cdd0dd, #e6e8ee

## Shades

#1f285a, #19214d, #141b41, #0f1535, #0a0f29, #06091e, #030413, #010209, #000103, #000000

## Tones

#1f285a, #202956, #222a51, #232b4d, #242c49, #262c44, #272d40, #292d3b, #2a2d37, #2c2d32

## Harmonies

- Complementary: #1f285a, #3c2b00
- Split: #1f285a, #4c2000, #263400
- Analogous: #1f285a, #003156, #372052
- Triadic: #1f285a, #52170d, #003a15
- Tetradic: #1f285a, #461941, #3c2b00, #003a15
- Square: #1f285a, #50152a, #3c2b00, #003931
- Monochromatic: #1f285a, #030028, #070838, #3c497e, #5c6ba3

## Questions about #1f285a

### What color is #1f285a?

#1f285a is soft very dark indigo. The closest named color is Ultramarine Violet. In RGB it is rgb(31, 40, 90), in HSL hsl(230.85, 48.76%, 23.73%) and in OKLCH oklch(29.946% 0.08995 272.186).

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

The complementary color of #1f285a is #3c2b00. For a calmer combination use the analogous colors #003156 and #372052. The triadic partners are #52170d and #003a15.

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

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

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

#1f285a is a cool color. In OKLCH its hue is 272 degrees, its lightness 29.9% and its chroma 0.09.
