#302BAF#302BAF
#302BAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.199 H 274.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #302BAF |
|---|---|
| RGB | rgb(48, 43, 175) |
| HSL | hsl(242, 61%, 43%) |
| HSV | hsv(242, 75%, 69%) |
| CMYK | cmyk(72.6%, 75.4%, 0%, 31.4%) |
| CIE-LAB | lab(27.98, 45.03, -68.69) |
| CIE-LCH | lch(27.98, 82.14, 303.25°) |
| OKLab | oklab(39.85% 0.0145 -0.1987) |
| OKLCH | oklch(39.85% 0.199 274.2) |
| XYZ | xyz(9.8181, 5.4503, 41.0837) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.20
True Blue
#010FCC
ΔE00 5.31
Mediumblue
#0000CD
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BAF #AAAF2B
analogous
#2B68AF #302BAF #722BAF
triadic
#302BAF #AF302B #2BAF30
tetradic
#302BAF #AF2B68 #AAAF2B #2BAF72
square
#302BAF #AF2B68 #AAAF2B #2BAF72
split-complementary
#302BAF #AF722B #68AF2B
monochromatic
#15134D #231F7E #302BAF #4B46D1 #7B77DE
Accessibility & contrast
On white
10.05
#302BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#302BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BAF
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BAF | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302baf; /* rgb */ color: rgb(48, 43, 175); /* oklch */ color: oklch(39.9% 0.199 274.2);
Tailwind
colors: {
custom: {
50: '#7c66c8',
500: '#302baf',
950: '#000000',
},
}SCSS
$custom: #302baf; $custom-light: #7c66c8; $custom-dark: #000000;
JSON
{
"hex": "#302baf",
"rgb": {
"r": 48,
"g": 43,
"b": 175
},
"hsl": {
"h": 242.273,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.3985,
"c": 0.19922,
"h": 274.2
},
"luminance": 0.05451
}Semantic roles & 50–950 ramp
primary
#302BAF
secondary
#C2C570
accent
#E444DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82