#2B309E#2B309E
#2B309E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.174 H 272.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B309E |
|---|---|
| RGB | rgb(43, 48, 158) |
| HSL | hsl(237, 57%, 39%) |
| HSV | hsv(237, 73%, 62%) |
| CMYK | cmyk(72.8%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(27.00, 35.77, -60.05) |
| CIE-LCH | lch(27.00, 69.90, 300.78°) |
| OKLab | oklab(38.55% 0.0085 -0.1736) |
| OKLCH | oklch(38.55% 0.174 272.8) |
| XYZ | xyz(8.2227, 5.0953, 32.8913) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Blueberry
#464196
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 6.13
Royal
#0C1793
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.50
Ocean Blue
#4F42B5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B309E #9E992B
analogous
#2B6A9E #2B309E #5F2B9E
triadic
#2B309E #9E2B30 #309E2B
tetradic
#2B309E #9E2B6A #9E992B #2B9E5F
square
#2B309E #9E2B6A #9E992B #2B9E5F
split-complementary
#2B309E #9E5F2B #6A9E2B
monochromatic
#11133E #1E216E #2B309E #3C42CA #6C71D7
Accessibility & contrast
On white
10.40
#2B309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2B309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B309E
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B309E | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b309e; /* rgb */ color: rgb(43, 48, 158); /* oklch */ color: oklch(38.6% 0.174 272.8);
Tailwind
colors: {
custom: {
50: '#7669bc',
500: '#2b309e',
950: '#000000',
},
}SCSS
$custom: #2b309e; $custom-light: #7669bc; $custom-dark: #000000;
JSON
{
"hex": "#2b309e",
"rgb": {
"r": 43,
"g": 48,
"b": 158
},
"hsl": {
"h": 237.391,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.38552,
"c": 0.17384,
"h": 272.8
},
"luminance": 0.05096
}Semantic roles & 50–950 ramp
primary
#2B309E
secondary
#BEBA67
accent
#DA47E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81