#2B307E#2B307E
#2B307E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.130 H 274.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2B307E |
|---|---|
| RGB | rgb(43, 48, 126) |
| HSL | hsl(236, 49%, 33%) |
| HSV | hsv(236, 66%, 49%) |
| CMYK | cmyk(65.9%, 61.9%, 0%, 50.6%) |
| CIE-LAB | lab(24.11, 24.17, -44.96) |
| CIE-LCH | lch(24.11, 51.05, 298.26°) |
| OKLab | oklab(35.54% 0.011 -0.1294) |
| OKLCH | oklch(35.54% 0.13 274.9) |
| XYZ | xyz(5.8179, 4.1334, 20.2258) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.63
Blueberry
#464196
ΔE00 6.41
Midnight Blue
#191970
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 6.94
Marine
#042E60
ΔE00 7.54
Royal
#0C1793
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B307E #7E792B
analogous
#2B597E #2B307E #502B7E
triadic
#2B307E #7E2B30 #307E2B
tetradic
#2B307E #7E2B59 #7E792B #2B7E50
square
#2B307E #7E2B59 #7E792B #2B7E50
split-complementary
#2B307E #7E502B #597E2B
monochromatic
#0C0D23 #1B1F50 #2B307E #3B41AC #5C62C7
Accessibility & contrast
On white
11.50
#2B307E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B307E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B307E
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B307E | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b307e; /* rgb */ color: rgb(43, 48, 126); /* oklch */ color: oklch(35.5% 0.130 274.9);
Tailwind
colors: {
custom: {
50: '#6f68a4',
500: '#2b307e',
950: '#000000',
},
}SCSS
$custom: #2b307e; $custom-light: #6f68a4; $custom-dark: #000000;
JSON
{
"hex": "#2b307e",
"rgb": {
"r": 43,
"g": 48,
"b": 126
},
"hsl": {
"h": 236.386,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.35542,
"c": 0.12989,
"h": 274.9
},
"luminance": 0.04134
}Semantic roles & 50–950 ramp
primary
#2B307E
secondary
#ADA858
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F