#3030B2#3030B2
#3030B2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.198 H 273.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3030B2 |
|---|---|
| RGB | rgb(48, 48, 178) |
| HSL | hsl(240, 58%, 44%) |
| HSV | hsv(240, 73%, 70%) |
| CMYK | cmyk(73%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(29.30, 43.19, -68.31) |
| CIE-LCH | lch(29.30, 80.82, 302.30°) |
| OKLab | oklab(40.88% 0.0115 -0.1976) |
| OKLCH | oklch(40.88% 0.198 273.3) |
| XYZ | xyz(10.3091, 5.9556, 42.7171) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Indigo Blue
#3A18B1
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
True Blue
#010FCC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3030B2 #B2B230
analogous
#3071B2 #3030B2 #7130B2
triadic
#3030B2 #B23030 #30B230
tetradic
#3030B2 #B23071 #B2B230 #30B271
square
#3030B2 #B23071 #B2B230 #30B271
split-complementary
#3030B2 #B27130 #71B230
monochromatic
#161652 #232382 #3030B2 #5050D0 #8080DD
Accessibility & contrast
On white
9.58
#3030B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#3030B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3030B2
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3030B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3030B2 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3030b2; /* rgb */ color: rgb(48, 48, 178); /* oklch */ color: oklch(40.9% 0.198 273.3);
Tailwind
colors: {
custom: {
50: '#7d6aca',
500: '#3030b2',
950: '#000000',
},
}SCSS
$custom: #3030b2; $custom-light: #7d6aca; $custom-dark: #000000;
JSON
{
"hex": "#3030b2",
"rgb": {
"r": 48,
"g": 48,
"b": 178
},
"hsl": {
"h": 240,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.4088,
"c": 0.19794,
"h": 273.3
},
"luminance": 0.05957
}Semantic roles & 50–950 ramp
primary
#3030B2
secondary
#C6C678
accent
#E147E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82