# #172958 color: Ultramarine Violet

#172958 is rgb(23, 41, 88) in RGB and oklch(29.511% 0.08808 265.537) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/172958

## Formats

| Format | Value |
| --- | --- |
| HEX | #172958 |
| RGB | rgb(23, 41, 88) |
| HSL | hsl(223.38, 58.56%, 21.76%) |
| HSB / HSV | hsv(223.38 73.86% 34.51%) |
| HWB | hwb(223.38 9.02% 65.49%) |
| CMYK | cmyk(74% 53% 0% 65%) |
| Lab | lab(17.33 6.73 -31.23) |
| LCH | lch(17.33 31.95 282.16) |
| OKLab | oklab(29.511% -0.00685 -0.08781) |
| OKLCH | oklch(29.511% 0.08808 265.537) |
| Display P3 | color(display-p3 0.10603 0.15894 0.33291) |
| Rec. 2020 | color(rec2020 0.07607 0.0984 0.27174) |
| Adobe RGB | color(a98-rgb 0.13607 0.17695 0.34205) |
| ProPhoto RGB | color(prophoto-rgb 0.13045 0.12286 0.25789) |
| Linear sRGB | color(srgb-linear 0.00857 0.02217 0.09759) |
| XYZ D65 | color(xyz-d65 0.02908 0.02473 0.09557) |
| XYZ D50 | color(xyz-d50 0.02624 0.02372 0.07196) |
| SwiftUI | Color(red: 0.09, green: 0.161, blue: 0.345) |
| UIKit | UIColor(red: 0.09, green: 0.161, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF172958) |
| Android XML | #172958 |

## Facts

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

## Tints

#172958, #2a3d68, #3f5079, #546589, #6a7999, #828eaa, #99a4bb, #b2bacc, #cbd1dd, #e5e8ee

## Shades

#172958, #12224b, #0e1c3f, #0a1533, #060f28, #04091d, #020512, #010209, #000103, #000000

## Tones

#172958, #192a54, #1b2b50, #1e2b4b, #202c47, #222c43, #242c3e, #262c3a, #282d36, #2a2d31

## Harmonies

- Complementary: #172958, #3e2800
- Split: #172958, #4c1d00, #2c3100
- Analogous: #172958, #003152, #312153
- Triadic: #172958, #501514, #03370c
- Tetradic: #172958, #421a44, #3e2800, #03370c
- Square: #172958, #4c152e, #3e2800, #00382b
- Monochromatic: #172958, #010027, #020936, #34497c, #556ca1

## Questions about #172958

### What color is #172958?

#172958 is soft very dark blue. The closest named color is Ultramarine Violet. In RGB it is rgb(23, 41, 88), in HSL hsl(223.38, 58.56%, 21.76%) and in OKLCH oklch(29.511% 0.08808 265.537).

### What colors go well with #172958?

The complementary color of #172958 is #3e2800. For a calmer combination use the analogous colors #003152 and #312153. The triadic partners are #501514 and #03370c.

### Is white or black text more readable on #172958?

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

### Is #172958 a warm or cool color?

#172958 is a cool color. In OKLCH its hue is 266 degrees, its lightness 29.5% and its chroma 0.088.
