#2B2B98#2B2B98
#2B2B98 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.172 H 274.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B98 |
|---|---|
| RGB | rgb(43, 43, 152) |
| HSL | hsl(240, 56%, 38%) |
| HSV | hsv(240, 72%, 60%) |
| CMYK | cmyk(71.7%, 71.7%, 0%, 40.4%) |
| CIE-LAB | lab(25.28, 36.76, -59.21) |
| CIE-LCH | lch(25.28, 69.70, 301.83°) |
| OKLab | oklab(37.13% 0.0124 -0.1712) |
| OKLCH | oklch(37.13% 0.172 274.2) |
| XYZ | xyz(7.5258, 4.5076, 30.1731) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.53
Royal
#0C1793
ΔE00 4.90
Indigo Blue
#3A18B1
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 6.50
Blueberry
#464196
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B98 #98982B
analogous
#2B6198 #2B2B98 #612B98
triadic
#2B2B98 #982B2B #2B982B
tetradic
#2B2B98 #982B61 #98982B #2B9861
square
#2B2B98 #982B61 #98982B #2B9861
split-complementary
#2B2B98 #98612B #61982B
monochromatic
#101039 #1E1E68 #2B2B98 #3939C7 #6969D5
Accessibility & contrast
On white
11.04
#2B2B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B2B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B98
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B98 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b2b98; /* rgb */ color: rgb(43, 43, 152); /* oklch */ color: oklch(37.1% 0.172 274.2);
Tailwind
colors: {
custom: {
50: '#7565b7',
500: '#2b2b98',
950: '#000000',
},
}SCSS
$custom: #2b2b98; $custom-light: #7565b7; $custom-dark: #000000;
JSON
{
"hex": "#2b2b98",
"rgb": {
"r": 43,
"g": 43,
"b": 152
},
"hsl": {
"h": 240,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.37133,
"c": 0.17164,
"h": 274.2
},
"luminance": 0.04508
}Semantic roles & 50–950 ramp
primary
#2B2B98
secondary
#BBBB64
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80