#303FB0#303FB0
#303FB0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.179 H 270.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #303FB0 |
|---|---|
| RGB | rgb(48, 63, 176) |
| HSL | hsl(233, 57%, 44%) |
| HSV | hsv(233, 73%, 69%) |
| CMYK | cmyk(72.7%, 64.2%, 0%, 31%) |
| CIE-LAB | lab(32.52, 33.27, -61.83) |
| CIE-LCH | lch(32.52, 70.21, 298.29°) |
| OKLab | oklab(43.15% 0.0027 -0.1786) |
| OKLCH | oklch(43.15% 0.179 270.9) |
| XYZ | xyz(10.8302, 7.3169, 41.9074) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Blue Blue
#2242C7
ΔE00 3.14
Ocean Blue
#4F42B5
ΔE00 4.33
Blueberry
#464196
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.29
Blue (survey)
#0343DF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303FB0 #B0A130
analogous
#307FB0 #303FB0 #6130B0
triadic
#303FB0 #B0303F #3FB030
tetradic
#303FB0 #B0307F #B0A130 #30B061
square
#303FB0 #B0307F #B0A130 #30B061
split-complementary
#303FB0 #B06130 #7FB030
monochromatic
#161D50 #232E80 #303FB0 #4E5DCF #7E89DC
Accessibility & contrast
On white
8.52
#303FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#303FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303FB0
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303FB0 | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #303fb0; /* rgb */ color: rgb(48, 63, 176); /* oklch */ color: oklch(43.2% 0.179 270.9);
Tailwind
colors: {
custom: {
50: '#7b74c9',
500: '#303fb0',
950: '#000000',
},
}SCSS
$custom: #303fb0; $custom-light: #7b74c9; $custom-dark: #000000;
JSON
{
"hex": "#303fb0",
"rgb": {
"r": 48,
"g": 63,
"b": 176
},
"hsl": {
"h": 232.969,
"s": 57.143,
"l": 43.922
},
"oklch": {
"l": 0.43152,
"c": 0.17867,
"h": 270.9
},
"luminance": 0.07318
}Semantic roles & 50–950 ramp
primary
#303FB0
secondary
#C5BC77
accent
#CE47E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82