#2B307A#2B307A
#2B307A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.124 H 275.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B307A |
|---|---|
| RGB | rgb(43, 48, 122) |
| HSL | hsl(236, 48%, 32%) |
| HSV | hsv(236, 65%, 48%) |
| CMYK | cmyk(64.8%, 60.7%, 0%, 52.2%) |
| CIE-LAB | lab(23.78, 22.70, -42.97) |
| CIE-LCH | lch(23.78, 48.60, 297.84°) |
| OKLab | oklab(35.19% 0.011 -0.1236) |
| OKLCH | oklch(35.19% 0.124 275.1) |
| XYZ | xyz(5.5649, 4.0322, 18.8936) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.82
Midnight Blue
#191970
ΔE00 6.51
Blueberry
#464196
ΔE00 6.74
Marine
#042E60
ΔE00 7.14
Sapphire (survey)
#2138AB
ΔE00 7.58
Royal
#0C1793
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B307A #7A752B
analogous
#2B577A #2B307A #4E2B7A
triadic
#2B307A #7A2B30 #307A2B
tetradic
#2B307A #7A2B57 #7A752B #2B7A4E
square
#2B307A #7A2B57 #7A752B #2B7A4E
split-complementary
#2B307A #7A4E2B #577A2B
monochromatic
#0B0C1F #1B1E4D #2B307A #3B42A7 #5A61C5
Accessibility & contrast
On white
11.62
#2B307A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2B307A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B307A
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B307A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B307A | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b307a; /* rgb */ color: rgb(43, 48, 122); /* oklch */ color: oklch(35.2% 0.124 275.1);
Tailwind
colors: {
custom: {
50: '#6e68a1',
500: '#2b307a',
950: '#000000',
},
}SCSS
$custom: #2b307a; $custom-light: #6e68a1; $custom-dark: #000000;
JSON
{
"hex": "#2b307a",
"rgb": {
"r": 43,
"g": 48,
"b": 122
},
"hsl": {
"h": 236.203,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.35194,
"c": 0.12405,
"h": 275.1
},
"luminance": 0.04033
}Semantic roles & 50–950 ramp
primary
#2B307A
secondary
#ABA556
accent
#CF50D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F