#302AAF#302AAF
#302AAF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.200 H 274.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #302AAF |
|---|---|
| RGB | rgb(48, 42, 175) |
| HSL | hsl(243, 61%, 43%) |
| HSV | hsv(243, 76%, 69%) |
| CMYK | cmyk(72.6%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(27.79, 45.58, -69.01) |
| CIE-LCH | lch(27.79, 82.71, 303.44°) |
| OKLab | oklab(39.71% 0.015 -0.1996) |
| OKLCH | oklch(39.71% 0.2 274.3) |
| XYZ | xyz(9.7822, 5.3785, 41.0717) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.53
Sapphire (survey)
#2138AB
ΔE00 4.41
True Blue
#010FCC
ΔE00 5.14
Ultramarine
#2000B1
ΔE00 5.99
Mediumblue
#0000CD
ΔE00 6.02
Cobalt Blue
#030AA7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AAF #A9AF2A
analogous
#2A66AF #302AAF #732AAF
triadic
#302AAF #AF302A #2AAF30
tetradic
#302AAF #AF2A66 #A9AF2A #2AAF73
square
#302AAF #AF2A66 #A9AF2A #2AAF73
split-complementary
#302AAF #AF732A #66AF2A
monochromatic
#15124C #221E7E #302AAF #4A44D2 #7A75DE
Accessibility & contrast
On white
10.12
#302AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#302AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AAF
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AAF | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302aaf; /* rgb */ color: rgb(48, 42, 175); /* oklch */ color: oklch(39.7% 0.200 274.3);
Tailwind
colors: {
custom: {
50: '#7c66c8',
500: '#302aaf',
950: '#000000',
},
}SCSS
$custom: #302aaf; $custom-light: #7c66c8; $custom-dark: #000000;
JSON
{
"hex": "#302aaf",
"rgb": {
"r": 48,
"g": 42,
"b": 175
},
"hsl": {
"h": 242.707,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.39713,
"c": 0.20018,
"h": 274.3
},
"luminance": 0.05379
}Semantic roles & 50–950 ramp
primary
#302AAF
secondary
#C2C66F
accent
#E443DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82