# #40286b color: Fading Horizon

#40286b is rgb(64, 40, 107) in RGB and oklch(34.399% 0.11206 296.565) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40286b

## Formats

| Format | Value |
| --- | --- |
| HEX | #40286b |
| RGB | rgb(64, 40, 107) |
| HSL | hsl(261.49, 45.58%, 28.82%) |
| HSB / HSV | hsv(261.49 62.62% 41.96%) |
| HWB | hwb(261.49 15.69% 58.04%) |
| CMYK | cmyk(40% 63% 0% 58%) |
| Lab | lab(22.14 24 -35.72) |
| LCH | lch(22.14 43.03 303.89) |
| OKLab | oklab(34.399% 0.05012 -0.10023) |
| OKLCH | oklch(34.399% 0.11206 296.565) |
| Display P3 | color(display-p3 0.23729 0.16096 0.40484) |
| Rec. 2020 | color(rec2020 0.17443 0.10869 0.34623) |
| Adobe RGB | color(a98-rgb 0.23839 0.17344 0.41146) |
| ProPhoto RGB | color(prophoto-rgb 0.19923 0.13642 0.32276) |
| Linear sRGB | color(srgb-linear 0.05127 0.02122 0.14703) |
| XYZ D65 | color(xyz-d65 0.05527 0.03669 0.14327) |
| XYZ D50 | color(xyz-d50 0.05157 0.03553 0.10777) |
| SwiftUI | Color(red: 0.251, green: 0.157, blue: 0.42) |
| UIKit | UIColor(red: 0.251, green: 0.157, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF40286B) |
| Android XML | #40286B |

## Facts

- Closest name: Fading Horizon
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.11:1
- Contrast with black: 1.73:1

## Tints

#40286b, #503d7a, #615189, #736597, #867aa6, #998fb5, #aca5c4, #c0bbd2, #d5d1e1, #eae8f0

## Shades

#40286b, #36215c, #2d1b4e, #24153f, #1b0f32, #130925, #0b0418, #05020d, #010104, #000000

## Tones

#40286b, #3f2b66, #3e2d61, #3d2f5c, #3d3158, #3c3353, #3b344e, #3a3549, #3a3743, #39383e

## Harmonies

- Complementary: #40286b, #373e00
- Split: #40286b, #4d3400, #00470e
- Analogous: #40286b, #1e3372, #551e57
- Triadic: #40286b, #602500, #004638
- Tetradic: #40286b, #63183a, #373e00, #004638
- Square: #40286b, #671816, #373e00, #00444d
- Monochromatic: #40286b, #0b0023, #230448, #604a90, #826cb6

## Questions about #40286b

### What color is #40286b?

#40286b is soft dark violet. The closest named color is Fading Horizon. In RGB it is rgb(64, 40, 107), in HSL hsl(261.49, 45.58%, 28.82%) and in OKLCH oklch(34.399% 0.11206 296.565).

### What colors go well with #40286b?

The complementary color of #40286b is #373e00. For a calmer combination use the analogous colors #1e3372 and #551e57. The triadic partners are #602500 and #004638.

### Is white or black text more readable on #40286b?

White text reads better on #40286b: white gives a contrast ratio of 12.11:1 and black gives 1.73:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40286b a warm or cool color?

#40286b is a cool color. In OKLCH its hue is 297 degrees, its lightness 34.4% and its chroma 0.112.
