#2B307B#2B307B
#2B307B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.126 H 275.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2B307B |
|---|---|
| RGB | rgb(43, 48, 123) |
| HSL | hsl(236, 48%, 33%) |
| HSV | hsv(236, 65%, 48%) |
| CMYK | cmyk(65%, 61%, 0%, 51.8%) |
| CIE-LAB | lab(23.86, 23.07, -43.47) |
| CIE-LCH | lch(23.86, 49.21, 297.95°) |
| OKLab | oklab(35.28% 0.011 -0.125) |
| OKLCH | oklch(35.28% 0.126 275) |
| XYZ | xyz(5.6272, 4.0571, 19.2216) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.76
Midnight Blue
#191970
ΔE00 6.49
Blueberry
#464196
ΔE00 6.65
Marine
#042E60
ΔE00 7.24
Sapphire (survey)
#2138AB
ΔE00 7.42
Royal
#0C1793
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B307B #7B762B
analogous
#2B587B #2B307B #4E2B7B
triadic
#2B307B #7B2B30 #307B2B
tetradic
#2B307B #7B2B58 #7B762B #2B7B4E
square
#2B307B #7B2B58 #7B762B #2B7B4E
split-complementary
#2B307B #7B4E2B #587B2B
monochromatic
#0B0D20 #1B1E4E #2B307B #3B42A8 #5B61C6
Accessibility & contrast
On white
11.59
#2B307B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2B307B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B307B
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B307B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B307B | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b307b; /* rgb */ color: rgb(43, 48, 123); /* oklch */ color: oklch(35.3% 0.126 275.0);
Tailwind
colors: {
custom: {
50: '#6e68a2',
500: '#2b307b',
950: '#000000',
},
}SCSS
$custom: #2b307b; $custom-light: #6e68a2; $custom-dark: #000000;
JSON
{
"hex": "#2b307b",
"rgb": {
"r": 43,
"g": 48,
"b": 123
},
"hsl": {
"h": 236.25,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.35281,
"c": 0.12552,
"h": 275
},
"luminance": 0.04058
}Semantic roles & 50–950 ramp
primary
#2B307B
secondary
#ABA656
accent
#CF50D8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F