#303FB3#303FB3
#303FB3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.183 H 270.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #303FB3 |
|---|---|
| RGB | rgb(48, 63, 179) |
| HSL | hsl(233, 58%, 45%) |
| HSV | hsv(233, 73%, 70%) |
| CMYK | cmyk(73.2%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(32.78, 34.36, -63.18) |
| CIE-LCH | lch(32.78, 71.92, 298.54°) |
| OKLab | oklab(43.43% 0.0025 -0.1826) |
| OKLCH | oklch(43.43% 0.183 270.8) |
| XYZ | xyz(11.1303, 7.4369, 43.4880) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Blue Blue
#2242C7
ΔE00 2.78
Ocean Blue
#4F42B5
ΔE00 4.19
Blueberry
#464196
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303FB3 #B3A430
analogous
#3081B3 #303FB3 #6330B3
triadic
#303FB3 #B3303F #3FB330
tetradic
#303FB3 #B33081 #B3A430 #30B363
square
#303FB3 #B33081 #B3A430 #30B363
split-complementary
#303FB3 #B36330 #81B330
monochromatic
#161D52 #232E83 #303FB3 #505FD0 #808BDD
Accessibility & contrast
On white
8.44
#303FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#303FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303FB3
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303FB3 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #303fb3; /* rgb */ color: rgb(48, 63, 179); /* oklch */ color: oklch(43.4% 0.183 270.8);
Tailwind
colors: {
custom: {
50: '#7b74cb',
500: '#303fb3',
950: '#000000',
},
}SCSS
$custom: #303fb3; $custom-light: #7b74cb; $custom-dark: #000000;
JSON
{
"hex": "#303fb3",
"rgb": {
"r": 48,
"g": 63,
"b": 179
},
"hsl": {
"h": 233.13,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.43426,
"c": 0.18263,
"h": 270.8
},
"luminance": 0.07438
}Semantic roles & 50–950 ramp
primary
#303FB3
secondary
#C6BD79
accent
#CF47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82