#302EB0#302EB0
#302EB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.198 H 273.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #302EB0 |
|---|---|
| RGB | rgb(48, 46, 176) |
| HSL | hsl(241, 59%, 44%) |
| HSV | hsv(241, 74%, 69%) |
| CMYK | cmyk(72.7%, 73.9%, 0%, 31%) |
| CIE-LAB | lab(28.68, 43.67, -68.13) |
| CIE-LCH | lch(28.68, 80.93, 302.66°) |
| OKLab | oklab(40.38% 0.0128 -0.1971) |
| OKLCH | oklch(40.38% 0.198 273.7) |
| XYZ | xyz(10.0298, 5.7160, 41.6406) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 4.44
True Blue
#010FCC
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 6.11
Blue With A Hint Of Purple
#533CC6
ΔE00 6.24
Blue Blue
#2242C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EB0 #AEB02E
analogous
#2E6DB0 #302EB0 #712EB0
triadic
#302EB0 #B0302E #2EB030
tetradic
#302EB0 #B02E6D #AEB02E #2EB071
square
#302EB0 #B02E6D #AEB02E #2EB071
split-complementary
#302EB0 #B0712E #6DB02E
monochromatic
#16154F #23217F #302EB0 #4D4BD0 #7D7CDD
Accessibility & contrast
On white
9.80
#302EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#302EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EB0
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EB0 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #302eb0; /* rgb */ color: rgb(48, 46, 176); /* oklch */ color: oklch(40.4% 0.198 273.7);
Tailwind
colors: {
custom: {
50: '#7c68c9',
500: '#302eb0',
950: '#000000',
},
}SCSS
$custom: #302eb0; $custom-light: #7c68c9; $custom-dark: #000000;
JSON
{
"hex": "#302eb0",
"rgb": {
"r": 48,
"g": 46,
"b": 176
},
"hsl": {
"h": 240.923,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.4038,
"c": 0.1975,
"h": 273.7
},
"luminance": 0.05717
}Semantic roles & 50–950 ramp
primary
#302EB0
secondary
#C4C575
accent
#E246DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82