#302EB2#302EB2
#302EB2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.200 H 273.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #302EB2 |
|---|---|
| RGB | rgb(48, 46, 178) |
| HSL | hsl(241, 59%, 44%) |
| HSV | hsv(241, 74%, 70%) |
| CMYK | cmyk(73%, 74.2%, 0%, 30.2%) |
| CIE-LAB | lab(28.89, 44.34, -68.98) |
| CIE-LCH | lch(28.89, 82.00, 302.73°) |
| OKLab | oklab(40.59% 0.0125 -0.1996) |
| OKLCH | oklch(40.59% 0.2 273.6) |
| XYZ | xyz(10.2291, 5.7957, 42.6904) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Indigo Blue
#3A18B1
ΔE00 4.42
True Blue
#010FCC
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 6.05
Blue With A Hint Of Purple
#533CC6
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EB2 #B0B22E
analogous
#2E6EB2 #302EB2 #722EB2
triadic
#302EB2 #B2302E #2EB230
tetradic
#302EB2 #B22E6E #B0B22E #2EB272
square
#302EB2 #B22E6E #B0B22E #2EB272
split-complementary
#302EB2 #B2722E #6EB22E
monochromatic
#161551 #232181 #302EB2 #4E4CD1 #7E7DDD
Accessibility & contrast
On white
9.72
#302EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#302EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EB2
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EB2 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #302eb2; /* rgb */ color: rgb(48, 46, 178); /* oklch */ color: oklch(40.6% 0.200 273.6);
Tailwind
colors: {
custom: {
50: '#7d68ca',
500: '#302eb2',
950: '#000000',
},
}SCSS
$custom: #302eb2; $custom-light: #7d68ca; $custom-dark: #000000;
JSON
{
"hex": "#302eb2",
"rgb": {
"r": 48,
"g": 46,
"b": 178
},
"hsl": {
"h": 240.909,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.40589,
"c": 0.19995,
"h": 273.6
},
"luminance": 0.05797
}Semantic roles & 50–950 ramp
primary
#302EB2
secondary
#C5C676
accent
#E246E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82