#2B2C98#2B2C98
#2B2C98 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.171 H 274.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2C98 |
|---|---|
| RGB | rgb(43, 44, 152) |
| HSL | hsl(239, 56%, 38%) |
| HSV | hsv(239, 72%, 60%) |
| CMYK | cmyk(71.7%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(25.51, 36.15, -58.85) |
| CIE-LCH | lch(25.51, 69.06, 301.56°) |
| OKLab | oklab(37.29% 0.0118 -0.1701) |
| OKLCH | oklch(37.29% 0.171 274) |
| XYZ | xyz(7.5626, 4.5812, 30.1854) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.32
Royal
#0C1793
ΔE00 5.14
Indigo Blue
#3A18B1
ΔE00 5.80
Blueberry
#464196
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.72
Cobalt Blue
#030AA7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2C98 #98972B
analogous
#2B6298 #2B2C98 #612B98
triadic
#2B2C98 #982B2C #2C982B
tetradic
#2B2C98 #982B62 #98972B #2B9861
square
#2B2C98 #982B62 #98972B #2B9861
split-complementary
#2B2C98 #98612B #62982B
monochromatic
#101039 #1E1E68 #2B2C98 #393AC7 #696AD5
Accessibility & contrast
On white
10.96
#2B2C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2B2C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2C98
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2C98 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b2c98; /* rgb */ color: rgb(43, 44, 152); /* oklch */ color: oklch(37.3% 0.171 274.0);
Tailwind
colors: {
custom: {
50: '#7566b7',
500: '#2b2c98',
950: '#000000',
},
}SCSS
$custom: #2b2c98; $custom-light: #7566b7; $custom-dark: #000000;
JSON
{
"hex": "#2b2c98",
"rgb": {
"r": 43,
"g": 44,
"b": 152
},
"hsl": {
"h": 239.45,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.37294,
"c": 0.17053,
"h": 274
},
"luminance": 0.04582
}Semantic roles & 50–950 ramp
primary
#2B2C98
secondary
#BBBA64
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80