#2B136F#2B136F
#2B136F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.145 H 285.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B136F |
|---|---|
| RGB | rgb(43, 19, 111) |
| HSL | hsl(256, 71%, 25%) |
| HSV | hsv(256, 83%, 44%) |
| CMYK | cmyk(61.3%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(16.14, 36.79, -48.41) |
| CIE-LCH | lch(16.14, 60.80, 307.23°) |
| OKLab | oklab(29.37% 0.0379 -0.1395) |
| OKLCH | oklch(29.37% 0.145 285.2) |
| XYZ | xyz(4.0975, 2.1268, 15.2304) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.14
Indigo (survey)
#380282
ΔE00 4.22
Dark Royal Blue
#02066F
ΔE00 4.30
Darkblue (survey)
#030764
ΔE00 4.57
Deep Blue
#040273
ΔE00 4.58
Dark Indigo
#1F0954
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B136F #576F13
analogous
#13296F #2B136F #59136F
triadic
#2B136F #6F2B13 #136F2B
tetradic
#2B136F #6F1329 #576F13 #136F59
square
#2B136F #6F1329 #576F13 #136F59
split-complementary
#2B136F #6F5913 #296F13
monochromatic
#0A041A #170A3B #2B136F #3F1CA3 #5325D8
Accessibility & contrast
On white
14.73
#2B136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2B136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B136F
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B136F | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#052E41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2b136f; /* rgb */ color: rgb(43, 19, 111); /* oklch */ color: oklch(29.4% 0.145 285.2);
Tailwind
colors: {
custom: {
50: '#6e5599',
500: '#2b136f',
950: '#000000',
},
}SCSS
$custom: #2b136f; $custom-light: #6e5599; $custom-dark: #000000;
JSON
{
"hex": "#2b136f",
"rgb": {
"r": 43,
"g": 19,
"b": 111
},
"hsl": {
"h": 255.652,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.2937,
"c": 0.14453,
"h": 285.2
},
"luminance": 0.02127
}Semantic roles & 50–950 ramp
primary
#2B136F
secondary
#89A638
accent
#EE3ABF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E