#302BCE#302BCE
#302BCE is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.236 H 271.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #302BCE |
|---|---|
| RGB | rgb(48, 43, 206) |
| HSL | hsl(242, 65%, 49%) |
| HSV | hsv(242, 79%, 81%) |
| CMYK | cmyk(76.7%, 79.1%, 0%, 19.2%) |
| CIE-LAB | lab(31.37, 54.87, -81.37) |
| CIE-LCH | lch(31.37, 98.14, 303.99°) |
| OKLab | oklab(43.23% 0.008 -0.2355) |
| OKLCH | oklch(43.23% 0.236 271.9) |
| XYZ | xyz(13.2196, 6.8109, 58.9985) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 4.49
Pure Blue
#0203E2
ΔE00 4.66
Rich Blue
#021BF9
ΔE00 4.67
True Blue
#010FCC
ΔE00 4.72
Blurple
#5539CC
ΔE00 4.80
Purple Blue
#5D21D0
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BCE #C9CE2B
analogous
#2B78CE #302BCE #812BCE
triadic
#302BCE #CE302B #2BCE30
tetradic
#302BCE #CE2B78 #C9CE2B #2BCE81
square
#302BCE #CE2B78 #C9CE2B #2BCE81
split-complementary
#302BCE #CE812B #78CE2B
monochromatic
#181669 #24209B #302BCE #5E5ADC #8F8CE7
Accessibility & contrast
On white
8.89
#302BCE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#302BCE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BCE
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BCE | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052D3
Deuteranopia (green-blind)
#0042CB
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #302bce; /* rgb */ color: rgb(48, 43, 206); /* oklch */ color: oklch(43.2% 0.236 271.9);
Tailwind
colors: {
custom: {
50: '#8468de',
500: '#302bce',
950: '#000000',
},
}SCSS
$custom: #302bce; $custom-light: #8468de; $custom-dark: #000000;
JSON
{
"hex": "#302bce",
"rgb": {
"r": 48,
"g": 43,
"b": 206
},
"hsl": {
"h": 241.84,
"s": 65.462,
"l": 48.824
},
"oklch": {
"l": 0.43227,
"c": 0.23566,
"h": 271.9
},
"luminance": 0.06812
}Semantic roles & 50–950 ramp
primary
#302BCE
secondary
#CFD184
accent
#E83FE3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83