#303E9E#303E9E
#303E9E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.156 H 271.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #303E9E |
|---|---|
| RGB | rgb(48, 62, 158) |
| HSL | hsl(232, 53%, 40%) |
| HSV | hsv(232, 70%, 62%) |
| CMYK | cmyk(69.6%, 60.8%, 0%, 38%) |
| CIE-LAB | lab(30.74, 27.37, -53.93) |
| CIE-LCH | lch(30.74, 60.47, 296.91°) |
| OKLab | oklab(41.37% 0.004 -0.1555) |
| OKLCH | oklch(41.37% 0.156 271.5) |
| XYZ | xyz(9.1110, 6.5414, 33.1236) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Blueberry
#464196
ΔE00 3.78
Cobalt
#0047AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303E9E #9E9030
analogous
#30759E #303E9E #59309E
triadic
#303E9E #9E303E #3E9E30
tetradic
#303E9E #9E3075 #9E9030 #309E59
square
#303E9E #9E3075 #9E9030 #309E59
split-complementary
#303E9E #9E5930 #759E30
monochromatic
#131940 #222C6F #303E9E #4555C6 #7480D5
Accessibility & contrast
On white
9.10
#303E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#303E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303E9E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303E9E | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #303e9e; /* rgb */ color: rgb(48, 62, 158); /* oklch */ color: oklch(41.4% 0.156 271.5);
Tailwind
colors: {
custom: {
50: '#7773bb',
500: '#303e9e',
950: '#000000',
},
}SCSS
$custom: #303e9e; $custom-light: #7773bb; $custom-dark: #000000;
JSON
{
"hex": "#303e9e",
"rgb": {
"r": 48,
"g": 62,
"b": 158
},
"hsl": {
"h": 232.364,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.41366,
"c": 0.15552,
"h": 271.5
},
"luminance": 0.06542
}Semantic roles & 50–950 ramp
primary
#303E9E
secondary
#BDB26D
accent
#CA4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81