#2B233B#2B233B
#2B233B is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.7% C 0.045 H 298.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B233B |
|---|---|
| RGB | rgb(43, 35, 59) |
| HSL | hsl(260, 26%, 18%) |
| HSV | hsv(260, 41%, 23%) |
| CMYK | cmyk(27.1%, 40.7%, 0%, 76.9%) |
| CIE-LAB | lab(15.65, 9.98, -14.08) |
| CIE-LCH | lch(15.65, 17.26, 305.35°) |
| OKLab | oklab(27.68% 0.0215 -0.039) |
| OKLCH | oklch(27.68% 0.045 298.8) |
| XYZ | xyz(2.3865, 2.0314, 4.4032) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.76
Navy (survey)
#01153E
ΔE00 10.23
Midnight
#03012D
ΔE00 10.84
Dark
#1B2431
ΔE00 11.14
Dark Navy Blue
#00022E
ΔE00 11.17
Eggplant
#380835
ΔE00 11.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B233B #333B23
analogous
#23273B #2B233B #37233B
triadic
#2B233B #3B2B23 #233B2B
tetradic
#2B233B #3B2327 #333B23 #233B37
square
#2B233B #3B2327 #333B23 #233B37
split-complementary
#2B233B #3B3723 #273B23
monochromatic
#0E0B13 #0F0C15 #2B233B #473A61 #635188
Accessibility & contrast
On white
14.93
#2B233B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2B233B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B233B
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B233B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B233B | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#1F273A
Tritanopia (blue-blind)
#28272C
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2b233b; /* rgb */ color: rgb(43, 35, 59); /* oklch */ color: oklch(27.7% 0.045 298.8);
Tailwind
colors: {
custom: {
50: '#655d71',
500: '#2b233b',
950: '#000000',
},
}SCSS
$custom: #2b233b; $custom-light: #655d71; $custom-dark: #000000;
JSON
{
"hex": "#2b233b",
"rgb": {
"r": 43,
"g": 35,
"b": 59
},
"hsl": {
"h": 260,
"s": 25.532,
"l": 18.431
},
"oklch": {
"l": 0.27678,
"c": 0.04455,
"h": 298.8
},
"luminance": 0.02031
}Semantic roles & 50–950 ramp
primary
#2B233B
secondary
#626E4C
accent
#C266A3
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A