#302B71#302B71
#302B71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.8% C 0.117 H 281.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #302B71 |
|---|---|
| RGB | rgb(48, 43, 113) |
| HSL | hsl(244, 45%, 31%) |
| HSV | hsv(244, 62%, 44%) |
| CMYK | cmyk(57.5%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(22.12, 23.83, -39.90) |
| CIE-LCH | lch(22.12, 46.47, 300.84°) |
| OKLab | oklab(33.84% 0.023 -0.1144) |
| OKLCH | oklch(33.84% 0.117 281.4) |
| XYZ | xyz(5.0625, 3.5481, 16.0377) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 6.54
Blueberry
#464196
ΔE00 8.10
Marine
#042E60
ΔE00 8.32
Royal
#0C1793
ΔE00 8.47
Navy Blue
#1B2A4A
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B71 #6C712B
analogous
#2B4971 #302B71 #532B71
triadic
#302B71 #71302B #2B7130
tetradic
#302B71 #712B49 #6C712B #2B7153
square
#302B71 #712B49 #6C712B #2B7153
split-complementary
#302B71 #71532B #49712B
monochromatic
#0A0918 #1D1A45 #302B71 #433C9D #5F57BF
Accessibility & contrast
On white
12.28
#302B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#302B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B71
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B71 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#113C49
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #302b71; /* rgb */ color: rgb(48, 43, 113); /* oklch */ color: oklch(33.8% 0.117 281.4);
Tailwind
colors: {
custom: {
50: '#6f649a',
500: '#302b71',
950: '#000000',
},
}SCSS
$custom: #302b71; $custom-light: #6f649a; $custom-dark: #000000;
JSON
{
"hex": "#302b71",
"rgb": {
"r": 48,
"g": 43,
"b": 113
},
"hsl": {
"h": 244.286,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.33837,
"c": 0.11672,
"h": 281.4
},
"luminance": 0.03548
}Semantic roles & 50–950 ramp
primary
#302B71
secondary
#9DA355
accent
#D553CB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E