#303899#303899
#303899 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.156 H 273.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #303899 |
|---|---|
| RGB | rgb(48, 56, 153) |
| HSL | hsl(235, 52%, 39%) |
| HSV | hsv(235, 69%, 60%) |
| CMYK | cmyk(68.6%, 63.4%, 0%, 40%) |
| CIE-LAB | lab(28.79, 29.49, -54.07) |
| CIE-LCH | lch(28.79, 61.59, 298.61°) |
| OKLab | oklab(39.79% 0.009 -0.1559) |
| OKLCH | oklch(39.79% 0.156 273.3) |
| XYZ | xyz(8.3809, 5.7559, 30.8001) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 4.00
Darkslateblue
#483D8B
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 6.33
Blue Blue
#2242C7
ΔE00 6.76
Cobalt
#0047AB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303899 #999130
analogous
#306C99 #303899 #5D3099
triadic
#303899 #993038 #389930
tetradic
#303899 #99306C #999130 #30995D
square
#303899 #99306C #999130 #30995D
split-complementary
#303899 #995D30 #6C9930
monochromatic
#13163C #21276A #303899 #424CC4 #7178D2
Accessibility & contrast
On white
9.76
#303899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#303899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303899
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303899 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303899; /* rgb */ color: rgb(48, 56, 153); /* oklch */ color: oklch(39.8% 0.156 273.3);
Tailwind
colors: {
custom: {
50: '#766eb8',
500: '#303899',
950: '#000000',
},
}SCSS
$custom: #303899; $custom-light: #766eb8; $custom-dark: #000000;
JSON
{
"hex": "#303899",
"rgb": {
"r": 48,
"g": 56,
"b": 153
},
"hsl": {
"h": 235.429,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.39794,
"c": 0.15621,
"h": 273.3
},
"luminance": 0.05757
}Semantic roles & 50–950 ramp
primary
#303899
secondary
#BAB46B
accent
#D14CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80