#303FB1#303FB1
#303FB1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.180 H 270.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #303FB1 |
|---|---|
| RGB | rgb(48, 63, 177) |
| HSL | hsl(233, 57%, 44%) |
| HSV | hsv(233, 73%, 69%) |
| CMYK | cmyk(72.9%, 64.4%, 0%, 30.6%) |
| CIE-LAB | lab(32.61, 33.63, -62.28) |
| CIE-LCH | lch(32.61, 70.78, 298.37°) |
| OKLab | oklab(43.24% 0.0027 -0.18) |
| OKLCH | oklch(43.24% 0.18 270.8) |
| XYZ | xyz(10.9295, 7.3566, 42.4304) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.35
Blue Blue
#2242C7
ΔE00 3.02
Ocean Blue
#4F42B5
ΔE00 4.28
Blueberry
#464196
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.34
Blue (survey)
#0343DF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303FB1 #B1A230
analogous
#3080B1 #303FB1 #6230B1
triadic
#303FB1 #B1303F #3FB130
tetradic
#303FB1 #B13080 #B1A230 #30B162
square
#303FB1 #B13080 #B1A230 #30B162
split-complementary
#303FB1 #B16230 #80B130
monochromatic
#161D51 #232E81 #303FB1 #4F5ECF #7F8ADC
Accessibility & contrast
On white
8.50
#303FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#303FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303FB1
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303FB1 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #303fb1; /* rgb */ color: rgb(48, 63, 177); /* oklch */ color: oklch(43.2% 0.180 270.8);
Tailwind
colors: {
custom: {
50: '#7b74c9',
500: '#303fb1',
950: '#000000',
},
}SCSS
$custom: #303fb1; $custom-light: #7b74c9; $custom-dark: #000000;
JSON
{
"hex": "#303fb1",
"rgb": {
"r": 48,
"g": 63,
"b": 177
},
"hsl": {
"h": 233.023,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.43243,
"c": 0.18,
"h": 270.8
},
"luminance": 0.07358
}Semantic roles & 50–950 ramp
primary
#303FB1
secondary
#C5BC78
accent
#CF47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82