#2B236F#2B236F
#2B236F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.126 H 281.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B236F |
|---|---|
| RGB | rgb(43, 35, 111) |
| HSL | hsl(246, 52%, 29%) |
| HSV | hsv(246, 68%, 44%) |
| CMYK | cmyk(61.3%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(19.49, 27.46, -42.91) |
| CIE-LCH | lch(19.49, 50.95, 302.61°) |
| OKLab | oklab(31.75% 0.0245 -0.1235) |
| OKLCH | oklch(31.75% 0.126 281.2) |
| XYZ | xyz(4.4656, 2.8631, 15.3531) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.35
Dark Indigo
#1F0954
ΔE00 7.06
Royal
#0C1793
ΔE00 7.09
Darkblue (survey)
#030764
ΔE00 7.21
Dark Royal Blue
#02066F
ΔE00 7.28
Indigo (survey)
#380282
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B236F #676F23
analogous
#23416F #2B236F #51236F
triadic
#2B236F #6F2B23 #236F2B
tetradic
#2B236F #6F2341 #676F23 #236F51
square
#2B236F #6F2341 #676F23 #236F51
split-complementary
#2B236F #6F5123 #416F23
monochromatic
#090717 #191440 #2B236F #3D329E #5547C5
Accessibility & contrast
On white
13.35
#2B236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2B236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B236F
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B236F | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#023645
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b236f; /* rgb */ color: rgb(43, 35, 111); /* oklch */ color: oklch(31.7% 0.126 281.2);
Tailwind
colors: {
custom: {
50: '#6d5e99',
500: '#2b236f',
950: '#000000',
},
}SCSS
$custom: #2b236f; $custom-light: #6d5e99; $custom-dark: #000000;
JSON
{
"hex": "#2b236f",
"rgb": {
"r": 43,
"g": 35,
"b": 111
},
"hsl": {
"h": 246.316,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.31749,
"c": 0.12588,
"h": 281.2
},
"luminance": 0.02863
}Semantic roles & 50–950 ramp
primary
#2B236F
secondary
#99A24C
accent
#DB4CCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E