#2B3074#2B3074
#2B3074 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.115 H 275.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3074 |
|---|---|
| RGB | rgb(43, 48, 116) |
| HSL | hsl(236, 46%, 31%) |
| HSV | hsv(236, 63%, 45%) |
| CMYK | cmyk(62.9%, 58.6%, 0%, 54.5%) |
| CIE-LAB | lab(23.30, 20.48, -39.93) |
| CIE-LCH | lch(23.30, 44.88, 297.15°) |
| OKLab | oklab(34.69% 0.011 -0.1146) |
| OKLCH | oklch(34.69% 0.115 275.5) |
| XYZ | xyz(5.2046, 3.8880, 16.9958) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.24
Marine
#042E60
ΔE00 6.62
Midnight Blue
#191970
ΔE00 6.75
Blueberry
#464196
ΔE00 7.34
Marine Blue
#01386A
ΔE00 8.17
Navy Blue
#1B2A4A
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3074 #746F2B
analogous
#2B5474 #2B3074 #4A2B74
triadic
#2B3074 #742B30 #30742B
tetradic
#2B3074 #742B54 #746F2B #2B744A
square
#2B3074 #742B54 #746F2B #2B744A
split-complementary
#2B3074 #744A2B #54742B
monochromatic
#0A0B1B #1A1E47 #2B3074 #3C42A1 #585FC1
Accessibility & contrast
On white
11.81
#2B3074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2B3074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3074
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3074 | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b3074; /* rgb */ color: rgb(43, 48, 116); /* oklch */ color: oklch(34.7% 0.115 275.5);
Tailwind
colors: {
custom: {
50: '#6c689d',
500: '#2b3074',
950: '#000000',
},
}SCSS
$custom: #2b3074; $custom-light: #6c689d; $custom-dark: #000000;
JSON
{
"hex": "#2b3074",
"rgb": {
"r": 43,
"g": 48,
"b": 116
},
"hsl": {
"h": 235.89,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.34686,
"c": 0.11514,
"h": 275.5
},
"luminance": 0.03888
}Semantic roles & 50–950 ramp
primary
#2B3074
secondary
#A6A055
accent
#CD52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E