# #1f3a7f color: Surf the Web

#1f3a7f is rgb(31, 58, 127) in RGB and oklch(37.027% 0.12152 264.911) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f3a7f |
| RGB | rgb(31, 58, 127) |
| HSL | hsl(223.13, 60.76%, 30.98%) |
| HSB / HSV | hsv(223.13 75.59% 49.8%) |
| HWB | hwb(223.13 12.16% 50.2%) |
| CMYK | cmyk(76% 54% 0% 50%) |
| Lab | lab(25.64 10.2 -42.96) |
| LCH | lch(25.64 44.16 283.35) |
| OKLab | oklab(37.027% -0.01078 -0.12105) |
| OKLCH | oklch(37.027% 0.12152 264.911) |
| Display P3 | color(display-p3 0.14636 0.22479 0.48062) |
| Rec. 2020 | color(rec2020 0.13336 0.16544 0.42629) |
| Adobe RGB | color(a98-rgb 0.17577 0.23738 0.48672) |
| ProPhoto RGB | color(prophoto-rgb 0.19153 0.17697 0.39618) |
| Linear sRGB | color(srgb-linear 0.0137 0.04231 0.21223) |
| XYZ D65 | color(xyz-d65 0.05908 0.04849 0.20704) |
| XYZ D50 | color(xyz-d50 0.05264 0.04625 0.15585) |
| SwiftUI | Color(red: 0.122, green: 0.227, blue: 0.498) |
| UIKit | UIColor(red: 0.122, green: 0.227, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF1F3A7F) |
| Android XML | #1F3A7F |

## Facts

- Closest name: Surf the Web
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.66:1
- Contrast with black: 1.97:1

## Tints

#1f3a7f, #324d8c, #47609a, #5c73a7, #7186b3, #879ac0, #9eaecd, #b6c1da, #ced6e6, #e6eaf3

## Shades

#1f3a7f, #19316e, #14285d, #0f204c, #0a183c, #06102d, #03091f, #010411, #000106, #000001

## Tones

#1f3a7f, #223b79, #263d73, #293e6d, #2d3e66, #303f60, #333f5a, #364053, #39404d, #3d4046

## Harmonies

- Complementary: #1f3a7f, #563a00
- Split: #1f3a7f, #6b2900, #3f4500
- Analogous: #1f3a7f, #00466e, #462e78
- Triadic: #1f3a7f, #731b1c, #004f0c
- Tetradic: #1f3a7f, #5e2362, #563a00, #004f0c
- Square: #1f3a7f, #6d1b43, #563a00, #004f3d
- Monochromatic: #1f3a7f, #010033, #05175a, #3e5da5, #5f81cc

## Questions about #1f3a7f

### What color is #1f3a7f?

#1f3a7f is soft dark blue. The closest named color is Surf the Web. In RGB it is rgb(31, 58, 127), in HSL hsl(223.13, 60.76%, 30.98%) and in OKLCH oklch(37.027% 0.12152 264.911).

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

The complementary color of #1f3a7f is #563a00. For a calmer combination use the analogous colors #00466e and #462e78. The triadic partners are #731b1c and #004f0c.

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

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

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

#1f3a7f is a cool color. In OKLCH its hue is 265 degrees, its lightness 37% and its chroma 0.122.
