#2B337B#2B337B
#2B337B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.121 H 273.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B337B |
|---|---|
| RGB | rgb(43, 51, 123) |
| HSL | hsl(234, 48%, 33%) |
| HSV | hsv(234, 65%, 48%) |
| CMYK | cmyk(65%, 58.5%, 0%, 51.8%) |
| CIE-LAB | lab(24.67, 21.01, -42.15) |
| CIE-LCH | lch(24.67, 47.10, 296.50°) |
| OKLab | oklab(35.89% 0.008 -0.1211) |
| OKLCH | oklch(35.89% 0.121 273.8) |
| XYZ | xyz(5.7541, 4.3108, 19.2639) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.60
Blueberry
#464196
ΔE00 6.33
Marine
#042E60
ΔE00 6.80
Sapphire (survey)
#2138AB
ΔE00 7.34
Midnight Blue
#191970
ΔE00 7.45
Marine Blue
#01386A
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B337B #7B732B
analogous
#2B5B7B #2B337B #4B2B7B
triadic
#2B337B #7B2B33 #337B2B
tetradic
#2B337B #7B2B5B #7B732B #2B7B4B
square
#2B337B #7B2B5B #7B732B #2B7B4B
split-complementary
#2B337B #7B4B2B #5B7B2B
monochromatic
#0B0D20 #1B204E #2B337B #3B46A8 #5B65C6
Accessibility & contrast
On white
11.28
#2B337B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2B337B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B337B
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B337B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B337B | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b337b; /* rgb */ color: rgb(43, 51, 123); /* oklch */ color: oklch(35.9% 0.121 273.8);
Tailwind
colors: {
custom: {
50: '#6e6aa2',
500: '#2b337b',
950: '#000000',
},
}SCSS
$custom: #2b337b; $custom-light: #6e6aa2; $custom-dark: #000000;
JSON
{
"hex": "#2b337b",
"rgb": {
"r": 43,
"g": 51,
"b": 123
},
"hsl": {
"h": 234,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.35886,
"c": 0.12138,
"h": 273.8
},
"luminance": 0.04311
}Semantic roles & 50–950 ramp
primary
#2B337B
secondary
#ABA356
accent
#CA50D8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F