# #4b40c6 color: Royal Nightcore

#4b40c6 is rgb(75, 64, 198) in RGB and oklch(47.057% 0.19943 279.137) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/4b40c6

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b40c6 |
| RGB | rgb(75, 64, 198) |
| HSL | hsl(244.93, 54.03%, 51.37%) |
| HSB / HSV | hsv(244.93 67.68% 77.65%) |
| HWB | hwb(244.93 25.1% 22.35%) |
| CMYK | cmyk(62% 68% 0% 22%) |
| Lab | lab(35.33 35.93 -69.81) |
| LCH | lch(35.33 78.52 297.24) |
| OKLab | oklab(47.057% 0.03167 -0.1969) |
| OKLCH | oklch(47.057% 0.19943 279.137) |
| Display P3 | color(display-p3 0.28701 0.25255 0.7478) |
| Rec. 2020 | color(rec2020 0.26417 0.20695 0.71365) |
| Adobe RGB | color(a98-rgb 0.28839 0.25904 0.75792) |
| ProPhoto RGB | color(prophoto-rgb 0.32677 0.22387 0.67733) |
| Linear sRGB | color(srgb-linear 0.07036 0.05127 0.56471) |
| XYZ D65 | color(xyz-d65 0.14927 0.0924 0.54425) |
| XYZ D50 | color(xyz-d50 0.13123 0.08664 0.40922) |
| SwiftUI | Color(red: 0.294, green: 0.251, blue: 0.776) |
| UIKit | UIColor(red: 0.294, green: 0.251, blue: 0.776, alpha: 1) |
| Flutter / Compose | Color(0xFF4B40C6) |
| Android XML | #4B40C6 |

## Facts

- Closest name: Royal Nightcore
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: indigo-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.37:1
- Contrast with black: 2.85:1

## Tints

#4b40c6, #5956cd, #686ad5, #787edb, #8a90e2, #9ca3e8, #afb5ed, #c2c8f2, #d6daf7, #eaecfb

## Shades

#4b40c6, #4036ac, #352d92, #2b247a, #211b62, #17134b, #0e0b35, #060521, #02010e, #000002

## Tones

#4b40c6, #4b45bc, #4c4ab1, #4d4ea7, #4e519c, #505492, #525687, #54587c, #565972, #585a66

## Harmonies

- Complementary: #4b40c6, #6c5b00
- Split: #4b40c6, #864b00, #3f6900
- Analogous: #4b40c6, #005bb2, #7c29ad
- Triadic: #4b40c6, #a71f00, #00703e
- Tetradic: #4b40c6, #9b0b7e, #6c5b00, #00703e
- Square: #4b40c6, #ad0043, #6c5b00, #006c67
- Monochromatic: #4b40c6, #1a0066, #31109e, #6967ef, #8d92ff

## Questions about #4b40c6

### What color is #4b40c6?

#4b40c6 is soft dark indigo. The closest named color is Royal Nightcore. In RGB it is rgb(75, 64, 198), in HSL hsl(244.93, 54.03%, 51.37%) and in OKLCH oklch(47.057% 0.19943 279.137).

### What colors go well with #4b40c6?

The complementary color of #4b40c6 is #6c5b00. For a calmer combination use the analogous colors #005bb2 and #7c29ad. The triadic partners are #a71f00 and #00703e.

### Is white or black text more readable on #4b40c6?

White text reads better on #4b40c6: white gives a contrast ratio of 7.37:1 and black gives 2.85:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #4b40c6 a warm or cool color?

#4b40c6 is a cool color. In OKLCH its hue is 279 degrees, its lightness 47.1% and its chroma 0.199.
