#2B237C#2B237C
#2B237C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.144 H 279.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2B237C |
|---|---|
| RGB | rgb(43, 35, 124) |
| HSL | hsl(245, 56%, 31%) |
| HSV | hsv(245, 72%, 49%) |
| CMYK | cmyk(65.3%, 71.8%, 0%, 51.4%) |
| CIE-LAB | lab(20.71, 31.98, -49.24) |
| CIE-LCH | lch(20.71, 58.71, 303.00°) |
| OKLab | oklab(33.01% 0.0226 -0.142) |
| OKLCH | oklch(33.01% 0.144 279) |
| XYZ | xyz(5.2342, 3.1705, 19.4010) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.31
Royal
#0C1793
ΔE00 5.06
Indigo (survey)
#380282
ΔE00 6.51
Dark Royal Blue
#02066F
ΔE00 6.90
Deep Blue
#040273
ΔE00 7.29
Darkblue
#00008B
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B237C #747C23
analogous
#23477C #2B237C #57237C
triadic
#2B237C #7C2B23 #237C2B
tetradic
#2B237C #7C2347 #747C23 #237C57
square
#2B237C #7C2347 #747C23 #237C57
split-complementary
#2B237C #7C5723 #477C23
monochromatic
#0A081D #1A164C #2B237C #3C30AC #584DCD
Accessibility & contrast
On white
12.85
#2B237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2B237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B237C
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B237C | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2b237c; /* rgb */ color: rgb(43, 35, 124); /* oklch */ color: oklch(33.0% 0.144 279.0);
Tailwind
colors: {
custom: {
50: '#6f5fa3',
500: '#2b237c',
950: '#000000',
},
}SCSS
$custom: #2b237c; $custom-light: #6f5fa3; $custom-dark: #000000;
JSON
{
"hex": "#2b237c",
"rgb": {
"r": 43,
"g": 35,
"b": 124
},
"hsl": {
"h": 245.393,
"s": 55.975,
"l": 31.176
},
"oklch": {
"l": 0.33012,
"c": 0.14382,
"h": 279
},
"luminance": 0.03171
}Semantic roles & 50–950 ramp
primary
#2B237C
secondary
#A6AF4C
accent
#DF49D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F