#2B2B7D#2B2B7D
#2B2B7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.135 H 276.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B7D |
|---|---|
| RGB | rgb(43, 43, 125) |
| HSL | hsl(240, 49%, 33%) |
| HSV | hsv(240, 66%, 49%) |
| CMYK | cmyk(65.6%, 65.6%, 0%, 51%) |
| CIE-LAB | lab(22.73, 27.17, -46.58) |
| CIE-LCH | lch(22.73, 53.92, 300.25°) |
| OKLab | oklab(34.5% 0.0157 -0.1342) |
| OKLCH | oklch(34.5% 0.135 276.7) |
| XYZ | xyz(5.5606, 3.7216, 19.8234) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 6.33
Royal
#0C1793
ΔE00 6.58
Blueberry
#464196
ΔE00 7.31
Sapphire (survey)
#2138AB
ΔE00 7.51
Marine
#042E60
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B7D #7D7D2B
analogous
#2B547D #2B2B7D #542B7D
triadic
#2B2B7D #7D2B2B #2B7D2B
tetradic
#2B2B7D #7D2B54 #7D7D2B #2B7D54
square
#2B2B7D #7D2B54 #7D7D2B #2B7D54
split-complementary
#2B2B7D #7D542B #547D2B
monochromatic
#0C0C22 #1B1B4F #2B2B7D #3B3BAB #5C5CC7
Accessibility & contrast
On white
12.04
#2B2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B2B7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B7D
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B7D | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2b7d; /* rgb */ color: rgb(43, 43, 125); /* oklch */ color: oklch(34.5% 0.135 276.7);
Tailwind
colors: {
custom: {
50: '#6f64a3',
500: '#2b2b7d',
950: '#000000',
},
}SCSS
$custom: #2b2b7d; $custom-light: #6f64a3; $custom-dark: #000000;
JSON
{
"hex": "#2b2b7d",
"rgb": {
"r": 43,
"g": 43,
"b": 125
},
"hsl": {
"h": 240,
"s": 48.81,
"l": 32.941
},
"oklch": {
"l": 0.34501,
"c": 0.13511,
"h": 276.7
},
"luminance": 0.03722
}Semantic roles & 50–950 ramp
primary
#2B2B7D
secondary
#ADAD57
accent
#D84FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F