#302BAC#302BAC
#302BAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.196 H 274.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #302BAC |
|---|---|
| RGB | rgb(48, 43, 172) |
| HSL | hsl(242, 60%, 42%) |
| HSV | hsv(242, 75%, 67%) |
| CMYK | cmyk(72.1%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(27.67, 44.05, -67.41) |
| CIE-LCH | lch(27.67, 80.53, 303.16°) |
| OKLab | oklab(39.53% 0.0151 -0.195) |
| OKLCH | oklch(39.53% 0.196 274.4) |
| XYZ | xyz(9.5267, 5.3338, 39.5492) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 4.15
True Blue
#010FCC
ΔE00 5.55
Royal
#0C1793
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.23
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BAC #A7AC2B
analogous
#2B66AC #302BAC #712BAC
triadic
#302BAC #AC302B #2BAC30
tetradic
#302BAC #AC2B66 #A7AC2B #2BAC71
square
#302BAC #AC2B66 #A7AC2B #2BAC71
split-complementary
#302BAC #AC712B #66AC2B
monochromatic
#15134A #221F7B #302BAC #4944D0 #7975DC
Accessibility & contrast
On white
10.16
#302BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#302BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BAC
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BAC | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302bac; /* rgb */ color: rgb(48, 43, 172); /* oklch */ color: oklch(39.5% 0.196 274.4);
Tailwind
colors: {
custom: {
50: '#7c66c6',
500: '#302bac',
950: '#000000',
},
}SCSS
$custom: #302bac; $custom-light: #7c66c6; $custom-dark: #000000;
JSON
{
"hex": "#302bac",
"rgb": {
"r": 48,
"g": 43,
"b": 172
},
"hsl": {
"h": 242.326,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.39533,
"c": 0.19556,
"h": 274.4
},
"luminance": 0.05335
}Semantic roles & 50–950 ramp
primary
#302BAC
secondary
#C1C46F
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82