#303A90#303A90
#303A90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.141 H 273.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #303A90 |
|---|---|
| RGB | rgb(48, 58, 144) |
| HSL | hsl(234, 50%, 38%) |
| HSV | hsv(234, 67%, 56%) |
| CMYK | cmyk(66.7%, 59.7%, 0%, 43.5%) |
| CIE-LAB | lab(28.56, 24.89, -48.93) |
| CIE-LCH | lch(28.56, 54.90, 296.96°) |
| OKLab | oklab(39.39% 0.0075 -0.1408) |
| OKLCH | oklch(39.39% 0.141 273.1) |
| XYZ | xyz(7.7643, 5.6674, 27.0649) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.80
Sapphire (survey)
#2138AB
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 6.60
Cobalt
#0047AB
ΔE00 6.82
Ocean Blue
#4F42B5
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303A90 #908630
analogous
#306A90 #303A90 #563090
triadic
#303A90 #90303A #3A9030
tetradic
#303A90 #90306A #908630 #309056
square
#303A90 #90306A #908630 #309056
split-complementary
#303A90 #905630 #6A9030
monochromatic
#111534 #212862 #303A90 #3F4CBE #6C76CE
Accessibility & contrast
On white
9.84
#303A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#303A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303A90
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303A90 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #303a90; /* rgb */ color: rgb(48, 58, 144); /* oklch */ color: oklch(39.4% 0.141 273.1);
Tailwind
colors: {
custom: {
50: '#7470b1',
500: '#303a90',
950: '#000000',
},
}SCSS
$custom: #303a90; $custom-light: #7470b1; $custom-dark: #000000;
JSON
{
"hex": "#303a90",
"rgb": {
"r": 48,
"g": 58,
"b": 144
},
"hsl": {
"h": 233.75,
"s": 50,
"l": 37.647
},
"oklch": {
"l": 0.39391,
"c": 0.14103,
"h": 273.1
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#303A90
secondary
#B5AD66
accent
#CB4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80