#2B30A5#2B30A5
#2B30A5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.183 H 272.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30A5 |
|---|---|
| RGB | rgb(43, 48, 165) |
| HSL | hsl(238, 59%, 41%) |
| HSV | hsv(238, 74%, 65%) |
| CMYK | cmyk(73.9%, 70.9%, 0%, 35.3%) |
| CIE-LAB | lab(27.69, 38.24, -63.17) |
| CIE-LCH | lch(27.69, 73.84, 301.19°) |
| OKLab | oklab(39.25% 0.0076 -0.1827) |
| OKLCH | oklch(39.25% 0.183 272.4) |
| XYZ | xyz(8.8425, 5.3432, 36.1553) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Indigo Blue
#3A18B1
ΔE00 5.60
Blueberry
#464196
ΔE00 6.24
Royal
#0C1793
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.57
Blue Blue
#2242C7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30A5 #A5A02B
analogous
#2B6DA5 #2B30A5 #632BA5
triadic
#2B30A5 #A52B30 #30A52B
tetradic
#2B30A5 #A52B6D #A5A02B #2BA563
square
#2B30A5 #A52B6D #A5A02B #2BA563
split-complementary
#2B30A5 #A5632B #6DA52B
monochromatic
#121444 #1E2274 #2B30A5 #4046CD #7175DA
Accessibility & contrast
On white
10.15
#2B30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2B30A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30A5
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30A5 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b30a5; /* rgb */ color: rgb(43, 48, 165); /* oklch */ color: oklch(39.3% 0.183 272.4);
Tailwind
colors: {
custom: {
50: '#7869c1',
500: '#2b30a5',
950: '#000000',
},
}SCSS
$custom: #2b30a5; $custom-light: #7869c1; $custom-dark: #000000;
JSON
{
"hex": "#2b30a5",
"rgb": {
"r": 43,
"g": 48,
"b": 165
},
"hsl": {
"h": 237.541,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.39254,
"c": 0.18289,
"h": 272.4
},
"luminance": 0.05344
}Semantic roles & 50–950 ramp
primary
#2B30A5
secondary
#C1BE6B
accent
#DB46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81