#302CAF#302CAF
#302CAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.198 H 274.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #302CAF |
|---|---|
| RGB | rgb(48, 44, 175) |
| HSL | hsl(242, 60%, 43%) |
| HSV | hsv(242, 75%, 69%) |
| CMYK | cmyk(72.6%, 74.9%, 0%, 31.4%) |
| CIE-LAB | lab(28.18, 44.47, -68.37) |
| CIE-LCH | lch(28.18, 81.56, 303.04°) |
| OKLab | oklab(39.99% 0.014 -0.1977) |
| OKLCH | oklch(39.99% 0.198 274.1) |
| XYZ | xyz(9.8549, 5.5239, 41.0960) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 3.98
True Blue
#010FCC
ΔE00 5.48
Mediumblue
#0000CD
ΔE00 6.39
Ultramarine
#2000B1
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CAF #ABAF2C
analogous
#2C69AF #302CAF #712CAF
triadic
#302CAF #AF302C #2CAF30
tetradic
#302CAF #AF2C69 #ABAF2C #2CAF71
square
#302CAF #AF2C69 #ABAF2C #2CAF71
split-complementary
#302CAF #AF712C #69AF2C
monochromatic
#15134D #23207E #302CAF #4C47D1 #7B78DD
Accessibility & contrast
On white
9.98
#302CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#302CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CAF
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CAF | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302caf; /* rgb */ color: rgb(48, 44, 175); /* oklch */ color: oklch(40.0% 0.198 274.1);
Tailwind
colors: {
custom: {
50: '#7c67c8',
500: '#302caf',
950: '#000000',
},
}SCSS
$custom: #302caf; $custom-light: #7c67c8; $custom-dark: #000000;
JSON
{
"hex": "#302caf",
"rgb": {
"r": 48,
"g": 44,
"b": 175
},
"hsl": {
"h": 241.832,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.3999,
"c": 0.19825,
"h": 274.1
},
"luminance": 0.05525
}Semantic roles & 50–950 ramp
primary
#302CAF
secondary
#C3C572
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82