#302C74#302C74
#302C74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.120 H 280.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #302C74 |
|---|---|
| RGB | rgb(48, 44, 116) |
| HSL | hsl(243, 45%, 31%) |
| HSV | hsv(243, 62%, 45%) |
| CMYK | cmyk(58.6%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(22.62, 24.21, -41.01) |
| CIE-LCH | lch(22.62, 47.62, 300.55°) |
| OKLab | oklab(34.28% 0.0218 -0.1177) |
| OKLCH | oklch(34.28% 0.12 280.5) |
| XYZ | xyz(5.2710, 3.6904, 16.9542) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.16
Blueberry
#464196
ΔE00 7.63
Royal
#0C1793
ΔE00 8.22
Marine
#042E60
ΔE00 8.26
Sapphire (survey)
#2138AB
ΔE00 9.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C74 #70742C
analogous
#2C4C74 #302C74 #542C74
triadic
#302C74 #74302C #2C7430
tetradic
#302C74 #742C4C #70742C #2C7454
square
#302C74 #742C4C #70742C #2C7454
split-complementary
#302C74 #74542C #4C742C
monochromatic
#0B0A1B #1E1B48 #302C74 #423DA0 #605AC0
Accessibility & contrast
On white
12.08
#302C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#302C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C74
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C74 | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#0D3D4B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #302c74; /* rgb */ color: rgb(48, 44, 116); /* oklch */ color: oklch(34.3% 0.120 280.5);
Tailwind
colors: {
custom: {
50: '#6f659d',
500: '#302c74',
950: '#000000',
},
}SCSS
$custom: #302c74; $custom-light: #6f659d; $custom-dark: #000000;
JSON
{
"hex": "#302c74",
"rgb": {
"r": 48,
"g": 44,
"b": 116
},
"hsl": {
"h": 243.333,
"s": 45,
"l": 31.373
},
"oklch": {
"l": 0.34285,
"c": 0.11969,
"h": 280.5
},
"luminance": 0.03691
}Semantic roles & 50–950 ramp
primary
#302C74
secondary
#A1A656
accent
#D553CD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E