#2B307F#2B307F
#2B307F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.131 H 274.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B307F |
|---|---|
| RGB | rgb(43, 48, 127) |
| HSL | hsl(236, 49%, 33%) |
| HSV | hsv(236, 66%, 50%) |
| CMYK | cmyk(66.1%, 62.2%, 0%, 50.2%) |
| CIE-LAB | lab(24.19, 24.54, -45.46) |
| CIE-LCH | lch(24.19, 51.66, 298.36°) |
| OKLab | oklab(35.63% 0.011 -0.1309) |
| OKLCH | oklch(35.63% 0.131 274.8) |
| XYZ | xyz(5.8827, 4.1593, 20.5674) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.60
Blueberry
#464196
ΔE00 6.33
Midnight Blue
#191970
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 6.78
Marine
#042E60
ΔE00 7.64
Royal
#0C1793
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B307F #7F7A2B
analogous
#2B5A7F #2B307F #502B7F
triadic
#2B307F #7F2B30 #307F2B
tetradic
#2B307F #7F2B5A #7F7A2B #2B7F50
square
#2B307F #7F2B5A #7F7A2B #2B7F50
split-complementary
#2B307F #7F502B #5A7F2B
monochromatic
#0C0D24 #1C1F51 #2B307F #3A41AD #5C63C8
Accessibility & contrast
On white
11.46
#2B307F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B307F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B307F
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B307F | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b307f; /* rgb */ color: rgb(43, 48, 127); /* oklch */ color: oklch(35.6% 0.131 274.8);
Tailwind
colors: {
custom: {
50: '#6f68a5',
500: '#2b307f',
950: '#000000',
},
}SCSS
$custom: #2b307f; $custom-light: #6f68a5; $custom-dark: #000000;
JSON
{
"hex": "#2b307f",
"rgb": {
"r": 43,
"g": 48,
"b": 127
},
"hsl": {
"h": 236.429,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.3563,
"c": 0.13133,
"h": 274.8
},
"luminance": 0.0416
}Semantic roles & 50–950 ramp
primary
#2B307F
secondary
#AEA958
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F