#303FB6#303FB6
#303FB6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.187 H 270.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #303FB6 |
|---|---|
| RGB | rgb(48, 63, 182) |
| HSL | hsl(233, 58%, 45%) |
| HSV | hsv(233, 74%, 71%) |
| CMYK | cmyk(73.6%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(33.05, 35.43, -64.52) |
| CIE-LCH | lch(33.05, 73.61, 298.77°) |
| OKLab | oklab(43.7% 0.0024 -0.1865) |
| OKLCH | oklch(43.7% 0.187 270.7) |
| XYZ | xyz(11.4371, 7.5596, 45.1033) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.45
Sapphire (survey)
#2138AB
ΔE00 2.70
Ocean Blue
#4F42B5
ΔE00 4.09
Blue (survey)
#0343DF
ΔE00 5.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.42
Cobalt
#0047AB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303FB6 #B6A730
analogous
#3082B6 #303FB6 #6430B6
triadic
#303FB6 #B6303F #3FB630
tetradic
#303FB6 #B63082 #B6A730 #30B664
square
#303FB6 #B63082 #B6A730 #30B664
split-complementary
#303FB6 #B66430 #82B630
monochromatic
#161D55 #232E86 #303FB6 #5260D1 #828DDE
Accessibility & contrast
On white
8.36
#303FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#303FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303FB6
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303FB6 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #303fb6; /* rgb */ color: rgb(48, 63, 182); /* oklch */ color: oklch(43.7% 0.187 270.7);
Tailwind
colors: {
custom: {
50: '#7c74cd',
500: '#303fb6',
950: '#000000',
},
}SCSS
$custom: #303fb6; $custom-light: #7c74cd; $custom-dark: #000000;
JSON
{
"hex": "#303fb6",
"rgb": {
"r": 48,
"g": 63,
"b": 182
},
"hsl": {
"h": 233.284,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.43704,
"c": 0.18655,
"h": 270.7
},
"luminance": 0.07561
}Semantic roles & 50–950 ramp
primary
#303FB6
secondary
#C7BF7B
accent
#D046E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82