#302A9B#302A9B
#302A9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.175 H 276.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #302A9B |
|---|---|
| RGB | rgb(48, 42, 155) |
| HSL | hsl(243, 57%, 39%) |
| HSV | hsv(243, 73%, 61%) |
| CMYK | cmyk(69%, 72.9%, 0%, 39.2%) |
| CIE-LAB | lab(25.71, 38.97, -60.33) |
| CIE-LCH | lch(25.71, 71.82, 302.86°) |
| OKLab | oklab(37.62% 0.019 -0.1743) |
| OKLCH | oklch(37.62% 0.175 276.2) |
| XYZ | xyz(7.9613, 4.6502, 31.4820) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Indigo Blue
#3A18B1
ΔE00 4.82
Royal
#0C1793
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 6.18
Royal Blue (survey)
#0504AA
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302A9B #959B2A
analogous
#2A5C9B #302A9B #682A9B
triadic
#302A9B #9B302A #2A9B30
tetradic
#302A9B #9B2A5C #959B2A #2A9B68
square
#302A9B #9B2A5C #959B2A #2A9B68
split-complementary
#302A9B #9B682A #5C9B2A
monochromatic
#12103B #211D6B #302A9B #4139C9 #6F69D6
Accessibility & contrast
On white
10.88
#302A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#302A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302A9B
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302A9B | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302a9b; /* rgb */ color: rgb(48, 42, 155); /* oklch */ color: oklch(37.6% 0.175 276.2);
Tailwind
colors: {
custom: {
50: '#7865ba',
500: '#302a9b',
950: '#000000',
},
}SCSS
$custom: #302a9b; $custom-light: #7865ba; $custom-dark: #000000;
JSON
{
"hex": "#302a9b",
"rgb": {
"r": 48,
"g": 42,
"b": 155
},
"hsl": {
"h": 243.186,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.37623,
"c": 0.17534,
"h": 276.2
},
"luminance": 0.04651
}Semantic roles & 50–950 ramp
primary
#302A9B
secondary
#B8BD64
accent
#E147D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81