#302EAC#302EAC
#302EAC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.193 H 274.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #302EAC |
|---|---|
| RGB | rgb(48, 46, 172) |
| HSL | hsl(241, 58%, 43%) |
| HSV | hsv(241, 73%, 67%) |
| CMYK | cmyk(72.1%, 73.3%, 0%, 32.5%) |
| CIE-LAB | lab(28.27, 42.34, -66.41) |
| CIE-LCH | lch(28.27, 78.76, 302.52°) |
| OKLab | oklab(39.97% 0.0136 -0.1921) |
| OKLCH | oklch(39.97% 0.193 274) |
| XYZ | xyz(9.6398, 5.5600, 39.5869) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.47
Indigo Blue
#3A18B1
ΔE00 4.53
True Blue
#010FCC
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 6.25
Blue Blue
#2242C7
ΔE00 6.57
Blue With A Hint Of Purple
#533CC6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EAC #AAAC2E
analogous
#2E6BAC #302EAC #6F2EAC
triadic
#302EAC #AC302E #2EAC30
tetradic
#302EAC #AC2E6B #AAAC2E #2EAC6F
square
#302EAC #AC2E6B #AAAC2E #2EAC6F
split-complementary
#302EAC #AC6F2E #6BAC2E
monochromatic
#15144B #23217C #302EAC #4B49CE #7B79DB
Accessibility & contrast
On white
9.94
#302EAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#302EAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EAC
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EAC | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #302eac; /* rgb */ color: rgb(48, 46, 172); /* oklch */ color: oklch(40.0% 0.193 274.0);
Tailwind
colors: {
custom: {
50: '#7b68c6',
500: '#302eac',
950: '#000000',
},
}SCSS
$custom: #302eac; $custom-light: #7b68c6; $custom-dark: #000000;
JSON
{
"hex": "#302eac",
"rgb": {
"r": 48,
"g": 46,
"b": 172
},
"hsl": {
"h": 240.952,
"s": 57.798,
"l": 42.745
},
"oklch": {
"l": 0.39965,
"c": 0.19255,
"h": 274
},
"luminance": 0.05561
}Semantic roles & 50–950 ramp
primary
#302EAC
secondary
#C2C372
accent
#E147DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82