#2B308E#2B308E
#2B308E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.152 H 273.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2B308E |
|---|---|
| RGB | rgb(43, 48, 142) |
| HSL | hsl(237, 54%, 36%) |
| HSV | hsv(237, 70%, 56%) |
| CMYK | cmyk(69.7%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(25.50, 30.03, -52.69) |
| CIE-LCH | lch(25.50, 60.65, 299.68°) |
| OKLab | oklab(37% 0.0102 -0.1521) |
| OKLCH | oklch(37% 0.152 273.8) |
| XYZ | xyz(6.9341, 4.5798, 26.1045) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.64
Blueberry
#464196
ΔE00 5.71
Royal
#0C1793
ΔE00 6.45
Midnight Blue
#191970
ΔE00 7.12
Indigo Blue
#3A18B1
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B308E #8E892B
analogous
#2B628E #2B308E #582B8E
triadic
#2B308E #8E2B30 #308E2B
tetradic
#2B308E #8E2B62 #8E892B #2B8E58
square
#2B308E #8E2B62 #8E892B #2B8E58
split-complementary
#2B308E #8E582B #628E2B
monochromatic
#0F1030 #1D205F #2B308E #3940BD #6369D0
Accessibility & contrast
On white
10.96
#2B308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2B308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B308E
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B308E | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b308e; /* rgb */ color: rgb(43, 48, 142); /* oklch */ color: oklch(37.0% 0.152 273.8);
Tailwind
colors: {
custom: {
50: '#7268b0',
500: '#2b308e',
950: '#000000',
},
}SCSS
$custom: #2b308e; $custom-light: #7268b0; $custom-dark: #000000;
JSON
{
"hex": "#2b308e",
"rgb": {
"r": 43,
"g": 48,
"b": 142
},
"hsl": {
"h": 236.97,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.37001,
"c": 0.15243,
"h": 273.8
},
"luminance": 0.0458
}Semantic roles & 50–950 ramp
primary
#2B308E
secondary
#B6B25F
accent
#D64BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80