#2B337A#2B337A
#2B337A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.120 H 273.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B337A |
|---|---|
| RGB | rgb(43, 51, 122) |
| HSL | hsl(234, 48%, 32%) |
| HSV | hsv(234, 65%, 48%) |
| CMYK | cmyk(64.8%, 58.2%, 0%, 52.2%) |
| CIE-LAB | lab(24.59, 20.64, -41.65) |
| CIE-LCH | lch(24.59, 46.48, 296.36°) |
| OKLab | oklab(35.8% 0.008 -0.1196) |
| OKLCH | oklch(35.8% 0.12 273.8) |
| XYZ | xyz(5.6918, 4.2859, 18.9359) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.67
Blueberry
#464196
ΔE00 6.43
Marine
#042E60
ΔE00 6.70
Midnight Blue
#191970
ΔE00 7.48
Sapphire (survey)
#2138AB
ΔE00 7.51
Marine Blue
#01386A
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B337A #7A722B
analogous
#2B5B7A #2B337A #4B2B7A
triadic
#2B337A #7A2B33 #337A2B
tetradic
#2B337A #7A2B5B #7A722B #2B7A4B
square
#2B337A #7A2B5B #7A722B #2B7A4B
split-complementary
#2B337A #7A4B2B #5B7A2B
monochromatic
#0B0D1F #1B204D #2B337A #3B46A7 #5A65C5
Accessibility & contrast
On white
11.31
#2B337A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2B337A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B337A
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B337A | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b337a; /* rgb */ color: rgb(43, 51, 122); /* oklch */ color: oklch(35.8% 0.120 273.8);
Tailwind
colors: {
custom: {
50: '#6d6aa1',
500: '#2b337a',
950: '#000000',
},
}SCSS
$custom: #2b337a; $custom-light: #6d6aa1; $custom-dark: #000000;
JSON
{
"hex": "#2b337a",
"rgb": {
"r": 43,
"g": 51,
"b": 122
},
"hsl": {
"h": 233.924,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.35803,
"c": 0.1199,
"h": 273.8
},
"luminance": 0.04286
}Semantic roles & 50–950 ramp
primary
#2B337A
secondary
#ABA256
accent
#CA50D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F