#303F9F
Material indigo 700
#303F9F is a blue colour. In RGB it is 48 red, 63 green and 159 blue, which converts to a hue of 232 degrees, 54% saturation and 41% lightness. It is Material indigo 700 in that design system's palette.
Color values
| HEX | #303F9F |
|---|---|
| RGB | rgb(48, 63, 159) |
| HSL | hsl(232, 54%, 41%) |
| HSV | hsv(232, 70%, 62%) |
| CMYK | cmyk(70%, 60%, 0%, 38%) |
Contrast and accessibility
Against white the contrast ratio is 8.98:1, and against black it is 2.34:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 8.98:1 | AAA | AAA |
| Black | 2.34:1 | Fail | Fail |
Tints and shades
Lighter tints move #303F9F toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #303F9F; |
|---|---|
| CSS rgb() | color: rgb(48 63 159); |
| Tailwind | bg-[#303f9f] |
| SwiftUI | Color(red: 0.188, green: 0.247, blue: 0.624) |
| Android | Color.parseColor("#303F9F") |
Closest named color
The nearest CSS colour keyword to #303F9F is darkslateblue (#483D8B).