#2B2D7C#2B2D7C
#2B2D7C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.131 H 276.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2D7C |
|---|---|
| RGB | rgb(43, 45, 124) |
| HSL | hsl(239, 49%, 33%) |
| HSV | hsv(239, 65%, 49%) |
| CMYK | cmyk(65.3%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(23.15, 25.47, -45.26) |
| CIE-LCH | lch(23.15, 51.93, 299.37°) |
| OKLab | oklab(34.78% 0.0139 -0.1303) |
| OKLCH | oklch(34.78% 0.131 276.1) |
| XYZ | xyz(5.5716, 3.8451, 19.5135) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 7.02
Royal
#0C1793
ΔE00 7.22
Sapphire (survey)
#2138AB
ΔE00 7.46
Marine
#042E60
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2D7C #7C7A2B
analogous
#2B557C #2B2D7C #522B7C
triadic
#2B2D7C #7C2B2D #2D7C2B
tetradic
#2B2D7C #7C2B55 #7C7A2B #2B7C52
square
#2B2D7C #7C2B55 #7C7A2B #2B7C52
split-complementary
#2B2D7C #7C522B #557C2B
monochromatic
#0B0C21 #1B1D4F #2B2D7C #3B3DA9 #5B5EC6
Accessibility & contrast
On white
11.87
#2B2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2B2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2D7C
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2D7C | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b2d7c; /* rgb */ color: rgb(43, 45, 124); /* oklch */ color: oklch(34.8% 0.131 276.1);
Tailwind
colors: {
custom: {
50: '#6e66a3',
500: '#2b2d7c',
950: '#000000',
},
}SCSS
$custom: #2b2d7c; $custom-light: #6e66a3; $custom-dark: #000000;
JSON
{
"hex": "#2b2d7c",
"rgb": {
"r": 43,
"g": 45,
"b": 124
},
"hsl": {
"h": 238.519,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.34785,
"c": 0.13104,
"h": 276.1
},
"luminance": 0.03846
}Semantic roles & 50–950 ramp
primary
#2B2D7C
secondary
#ACAA57
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F