#2B30A2#2B30A2
#2B30A2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.179 H 272.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30A2 |
|---|---|
| RGB | rgb(43, 48, 162) |
| HSL | hsl(237, 58%, 40%) |
| HSV | hsv(237, 73%, 64%) |
| CMYK | cmyk(73.5%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(27.39, 37.18, -61.84) |
| CIE-LCH | lch(27.39, 72.16, 301.02°) |
| OKLab | oklab(38.95% 0.008 -0.1788) |
| OKLCH | oklch(38.95% 0.179 272.6) |
| XYZ | xyz(8.5726, 5.2353, 34.7341) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Indigo Blue
#3A18B1
ΔE00 5.81
Blueberry
#464196
ΔE00 6.10
Royal
#0C1793
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30A2 #A29D2B
analogous
#2B6BA2 #2B30A2 #612BA2
triadic
#2B30A2 #A22B30 #30A22B
tetradic
#2B30A2 #A22B6B #A29D2B #2BA261
square
#2B30A2 #A22B6B #A29D2B #2BA261
split-complementary
#2B30A2 #A2612B #6BA22B
monochromatic
#111341 #1E2272 #2B30A2 #3E44CC #6F73D9
Accessibility & contrast
On white
10.26
#2B30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B30A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30A2
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30A2 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b30a2; /* rgb */ color: rgb(43, 48, 162); /* oklch */ color: oklch(39.0% 0.179 272.6);
Tailwind
colors: {
custom: {
50: '#7769bf',
500: '#2b30a2',
950: '#000000',
},
}SCSS
$custom: #2b30a2; $custom-light: #7769bf; $custom-dark: #000000;
JSON
{
"hex": "#2b30a2",
"rgb": {
"r": 43,
"g": 48,
"b": 162
},
"hsl": {
"h": 237.479,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.38951,
"c": 0.17903,
"h": 272.6
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#2B30A2
secondary
#C0BC69
accent
#DB47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81