#2B236C#2B236C
#2B236C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.122 H 281.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B236C |
|---|---|
| RGB | rgb(43, 35, 108) |
| HSL | hsl(247, 51%, 28%) |
| HSV | hsv(247, 68%, 42%) |
| CMYK | cmyk(60.2%, 67.6%, 0%, 57.6%) |
| CIE-LAB | lab(19.22, 26.41, -41.41) |
| CIE-LCH | lch(19.22, 49.12, 302.53°) |
| OKLab | oklab(31.47% 0.0248 -0.1191) |
| OKLCH | oklch(31.47% 0.122 281.8) |
| XYZ | xyz(4.3032, 2.7981, 14.4978) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.62
Dark Indigo
#1F0954
ΔE00 6.87
Darkblue (survey)
#030764
ΔE00 7.31
Dark Royal Blue
#02066F
ΔE00 7.50
Royal
#0C1793
ΔE00 7.62
Indigo (survey)
#380282
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B236C #646C23
analogous
#233F6C #2B236C #4F236C
triadic
#2B236C #6C2B23 #236C2B
tetradic
#2B236C #6C233F #646C23 #236C4F
square
#2B236C #6C233F #646C23 #236C4F
split-complementary
#2B236C #6C4F23 #3F6C23
monochromatic
#090717 #19143E #2B236C #3D329A #5446C3
Accessibility & contrast
On white
13.46
#2B236C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2B236C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B236C
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B236C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B236C | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#073544
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b236c; /* rgb */ color: rgb(43, 35, 108); /* oklch */ color: oklch(31.5% 0.122 281.8);
Tailwind
colors: {
custom: {
50: '#6c5e97',
500: '#2b236c',
950: '#000000',
},
}SCSS
$custom: #2b236c; $custom-light: #6c5e97; $custom-dark: #000000;
JSON
{
"hex": "#2b236c",
"rgb": {
"r": 43,
"g": 35,
"b": 108
},
"hsl": {
"h": 246.575,
"s": 51.049,
"l": 28.039
},
"oklch": {
"l": 0.31468,
"c": 0.12162,
"h": 281.8
},
"luminance": 0.02798
}Semantic roles & 50–950 ramp
primary
#2B236C
secondary
#969F4B
accent
#DB4DCB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E