#2B347B#2B347B
#2B347B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.120 H 273.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B347B |
|---|---|
| RGB | rgb(43, 52, 123) |
| HSL | hsl(233, 48%, 33%) |
| HSV | hsv(233, 65%, 48%) |
| CMYK | cmyk(65%, 57.7%, 0%, 51.8%) |
| CIE-LAB | lab(24.95, 20.32, -41.70) |
| CIE-LCH | lch(24.95, 46.39, 295.98°) |
| OKLab | oklab(36.09% 0.007 -0.1198) |
| OKLCH | oklch(36.09% 0.12 273.4) |
| XYZ | xyz(5.7982, 4.3992, 19.2786) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.60
Blueberry
#464196
ΔE00 6.25
Marine
#042E60
ΔE00 6.68
Sapphire (survey)
#2138AB
ΔE00 7.33
Marine Blue
#01386A
ΔE00 7.49
Midnight Blue
#191970
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B347B #7B722B
analogous
#2B5C7B #2B347B #4A2B7B
triadic
#2B347B #7B2B34 #347B2B
tetradic
#2B347B #7B2B5C #7B722B #2B7B4A
square
#2B347B #7B2B5C #7B722B #2B7B4A
split-complementary
#2B347B #7B4A2B #5C7B2B
monochromatic
#0B0E20 #1B214E #2B347B #3B47A8 #5B67C6
Accessibility & contrast
On white
11.17
#2B347B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2B347B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B347B
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B347B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B347B | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b347b; /* rgb */ color: rgb(43, 52, 123); /* oklch */ color: oklch(36.1% 0.120 273.4);
Tailwind
colors: {
custom: {
50: '#6e6ba2',
500: '#2b347b',
950: '#000000',
},
}SCSS
$custom: #2b347b; $custom-light: #6e6ba2; $custom-dark: #000000;
JSON
{
"hex": "#2b347b",
"rgb": {
"r": 43,
"g": 52,
"b": 123
},
"hsl": {
"h": 233.25,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.36092,
"c": 0.12,
"h": 273.4
},
"luminance": 0.044
}Semantic roles & 50–950 ramp
primary
#2B347B
secondary
#ABA256
accent
#C950D8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F