#2B3474#2B3474
#2B3474 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.109 H 273.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3474 |
|---|---|
| RGB | rgb(43, 52, 116) |
| HSL | hsl(233, 46%, 31%) |
| HSV | hsv(233, 63%, 45%) |
| CMYK | cmyk(62.9%, 55.2%, 0%, 54.5%) |
| CIE-LAB | lab(24.42, 17.71, -38.12) |
| CIE-LCH | lch(24.42, 42.03, 294.92°) |
| OKLab | oklab(35.53% 0.0066 -0.1092) |
| OKLCH | oklch(35.53% 0.109 273.5) |
| XYZ | xyz(5.3756, 4.2301, 17.0528) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.20
Blueberry
#464196
ΔE00 7.07
Marine Blue
#01386A
ΔE00 7.15
Darkish Blue
#014182
ΔE00 7.88
Navy Blue
#1B2A4A
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3474 #746B2B
analogous
#2B5874 #2B3474 #462B74
triadic
#2B3474 #742B34 #34742B
tetradic
#2B3474 #742B58 #746B2B #2B7446
square
#2B3474 #742B58 #746B2B #2B7446
split-complementary
#2B3474 #74462B #58742B
monochromatic
#0A0C1B #1A2047 #2B3474 #3C48A1 #5865C1
Accessibility & contrast
On white
11.37
#2B3474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2B3474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3474
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3474 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D3D76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b3474; /* rgb */ color: rgb(43, 52, 116); /* oklch */ color: oklch(35.5% 0.109 273.5);
Tailwind
colors: {
custom: {
50: '#6c6b9c',
500: '#2b3474',
950: '#000000',
},
}SCSS
$custom: #2b3474; $custom-light: #6c6b9c; $custom-dark: #000000;
JSON
{
"hex": "#2b3474",
"rgb": {
"r": 43,
"g": 52,
"b": 116
},
"hsl": {
"h": 232.603,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.35525,
"c": 0.10944,
"h": 273.5
},
"luminance": 0.04231
}Semantic roles & 50–950 ramp
primary
#2B3474
secondary
#A69C55
accent
#C552D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E