#2B2BA6#2B2BA6
#2B2BA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.189 H 273.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2BA6 |
|---|---|
| RGB | rgb(43, 43, 166) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 74%, 65%) |
| CMYK | cmyk(74.1%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.72, 41.56, -65.38) |
| CIE-LCH | lch(26.72, 77.47, 302.45°) |
| OKLab | oklab(38.59% 0.0101 -0.1892) |
| OKLCH | oklch(38.59% 0.189 273.1) |
| XYZ | xyz(8.7408, 4.9936, 36.5722) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.37
Royal
#0C1793
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.07
True Blue
#010FCC
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2BA6 #A6A62B
analogous
#2B68A6 #2B2BA6 #682BA6
triadic
#2B2BA6 #A62B2B #2BA62B
tetradic
#2B2BA6 #A62B68 #A6A62B #2BA668
square
#2B2BA6 #A62B68 #A6A62B #2BA668
split-complementary
#2B2BA6 #A6682B #68A62B
monochromatic
#121245 #1E1E75 #2B2BA6 #4141CE #7171DA
Accessibility & contrast
On white
10.51
#2B2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2B2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2BA6
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2BA6 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2ba6; /* rgb */ color: rgb(43, 43, 166); /* oklch */ color: oklch(38.6% 0.189 273.1);
Tailwind
colors: {
custom: {
50: '#7866c2',
500: '#2b2ba6',
950: '#000000',
},
}SCSS
$custom: #2b2ba6; $custom-light: #7866c2; $custom-dark: #000000;
JSON
{
"hex": "#2b2ba6",
"rgb": {
"r": 43,
"g": 43,
"b": 166
},
"hsl": {
"h": 240,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.38587,
"c": 0.18942,
"h": 273.1
},
"luminance": 0.04995
}Semantic roles & 50–950 ramp
primary
#2B2BA6
secondary
#C1C16B
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81