#303FB4#303FB4
#303FB4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.184 H 270.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #303FB4 |
|---|---|
| RGB | rgb(48, 63, 180) |
| HSL | hsl(233, 58%, 45%) |
| HSV | hsv(233, 73%, 71%) |
| CMYK | cmyk(73.3%, 65%, 0%, 29.4%) |
| CIE-LAB | lab(32.87, 34.71, -63.63) |
| CIE-LCH | lch(32.87, 72.48, 298.62°) |
| OKLab | oklab(43.52% 0.0025 -0.1839) |
| OKLCH | oklch(43.52% 0.184 270.8) |
| XYZ | xyz(11.2318, 7.4775, 44.0225) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.54
Blue Blue
#2242C7
ΔE00 2.67
Ocean Blue
#4F42B5
ΔE00 4.15
Blue (survey)
#0343DF
ΔE00 5.46
Blueberry
#464196
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303FB4 #B4A530
analogous
#3081B4 #303FB4 #6330B4
triadic
#303FB4 #B4303F #3FB430
tetradic
#303FB4 #B43081 #B4A530 #30B463
square
#303FB4 #B43081 #B4A530 #30B463
split-complementary
#303FB4 #B46330 #81B430
monochromatic
#161D53 #232E84 #303FB4 #515FD1 #818BDD
Accessibility & contrast
On white
8.41
#303FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#303FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303FB4
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303FB4 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #303fb4; /* rgb */ color: rgb(48, 63, 180); /* oklch */ color: oklch(43.5% 0.184 270.8);
Tailwind
colors: {
custom: {
50: '#7c74cb',
500: '#303fb4',
950: '#000000',
},
}SCSS
$custom: #303fb4; $custom-light: #7c74cb; $custom-dark: #000000;
JSON
{
"hex": "#303fb4",
"rgb": {
"r": 48,
"g": 63,
"b": 180
},
"hsl": {
"h": 233.182,
"s": 57.895,
"l": 44.706
},
"oklch": {
"l": 0.43519,
"c": 0.18395,
"h": 270.8
},
"luminance": 0.07479
}Semantic roles & 50–950 ramp
primary
#303FB4
secondary
#C6BE79
accent
#D047E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82